Changes in uspace/app/taskdump/symtab.c [3698e44:83349b03] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
r3698e44 r83349b03 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.