Changeset e16e0d59 in mainline for kernel/arch/amd64/src/debugger.c
- Timestamp:
- 2009-03-17T20:33:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5eb90cb
- Parents:
- b1c8dc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
rb1c8dc0 re16e0d59 44 44 #include <func.h> 45 45 #include <smp/ipi.h> 46 47 #ifdef CONFIG_SYMTAB48 46 #include <symtab.h> 49 #endif50 47 51 48 typedef struct { … … 234 231 } 235 232 236 #ifdef CONFIG_SYMTAB 237 printf("Reached breakpoint %d:%lx(%s)\n", slot, getip(istate), 238 get_symtab_entry(getip(istate))); 239 #else 240 printf("Reached breakpoint %d:%lx\n", slot, getip(istate)); 241 #endif 233 printf("Reached breakpoint %d:%lx (%s)\n", slot, getip(istate), 234 symtab_fmt_name_lookup(getip(istate))); 242 235 243 236 #ifdef CONFIG_KCONSOLE … … 364 357 for (i = 0; i < BKPOINTS_MAX; i++) 365 358 if (breakpoints[i].address) { 366 #ifdef CONFIG_SYMTAB 367 symbol = get_symtab_entry(breakpoints[i].address); 368 #else 369 symbol = "n/a"; 370 #endif 359 symbol = symtab_fmt_name_lookup( 360 breakpoints[i].address); 371 361 372 362 #ifdef __32_BITS__
Note:
See TracChangeset
for help on using the changeset viewer.