Changeset eb73a50 in mainline


Ignore:
Timestamp:
2010-02-07T10:56:37Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a60b2d7, e27cf669
Parents:
f27ada7 (diff), e067dcd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge taskdump fixes.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/symtab.c

    rf27ada7 reb73a50  
    255255
    256256                stype = ELF_ST_TYPE(st->sym[i].st_info);
    257                 if (stype != STT_OBJECT && stype != STT_FUNC)
    258                         continue;
     257                if (stype != STT_OBJECT && stype != STT_FUNC &&
     258                    stype != STT_NOTYPE) {
     259                        continue;
     260                }
    259261
    260262                saddr = st->sym[i].st_value;
    261263                sname = st->strtab + st->sym[i].st_name;
     264
     265                /* An ugly hack to filter out some special ARM symbols. */
     266                if (sname[0] == '$')
     267                        continue;
    262268
    263269                if (best_name == NULL || (saddr <= addr && saddr > best_addr)) {
  • uspace/srv/taskmon/taskmon.c

    rf27ada7 reb73a50  
    6666        }
    6767
    68         if (asprintf(&dump_fname, "/data/core" PRIuTASKID, taskid) < 0) {
     68        if (asprintf(&dump_fname, "/data/core%" PRIuTASKID, taskid) < 0) {
    6969                printf("Memory allocation failed.\n");
    7070                return;
Note: See TracChangeset for help on using the changeset viewer.