Changes in uspace/app/taskdump/symtab.c [83349b03:3698e44] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
r83349b03 r3698e44 206 206 size_t i; 207 207 char *sname; 208 unsigned stype;209 208 210 209 for (i = 0; i < st->sym_size / sizeof(elf_symbol_t); ++i) { 211 210 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)216 211 continue; 217 212 … … 245 240 uintptr_t saddr, best_addr; 246 241 char *sname, *best_name; 247 unsigned stype;248 242 249 243 best_name = NULL; … … 252 246 for (i = 0; i < st->sym_size / sizeof(elf_symbol_t); ++i) { 253 247 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)258 248 continue; 259 249
Note:
See TracChangeset
for help on using the changeset viewer.