Changeset f27ada7 in mainline for uspace/app/taskdump/symtab.c
- Timestamp:
- 2010-02-06T21:38:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- eb73a50
- Parents:
- 25e963a (diff), dafa2d04 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
r25e963a rf27ada7 206 206 size_t i; 207 207 char *sname; 208 unsigned stype; 208 209 209 210 for (i = 0; i < st->sym_size / sizeof(elf_symbol_t); ++i) { 210 211 if (st->sym[i].st_name == 0) 212 continue; 213 214 stype = ELF_ST_TYPE(st->sym[i].st_info); 215 if (stype != STT_OBJECT && stype != STT_FUNC) 211 216 continue; 212 217 … … 240 245 uintptr_t saddr, best_addr; 241 246 char *sname, *best_name; 247 unsigned stype; 242 248 243 249 best_name = NULL; … … 246 252 for (i = 0; i < st->sym_size / sizeof(elf_symbol_t); ++i) { 247 253 if (st->sym[i].st_name == 0) 254 continue; 255 256 stype = ELF_ST_TYPE(st->sym[i].st_info); 257 if (stype != STT_OBJECT && stype != STT_FUNC) 248 258 continue; 249 259
Note:
See TracChangeset
for help on using the changeset viewer.