Changeset 83349b03 in mainline for uspace/app/taskdump/symtab.c
- Timestamp:
- 2010-01-28T22:28:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19f24fd
- Parents:
- f0bdfb7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
rf0bdfb7 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.