Changeset e2b762ec in mainline for kernel/arch/amd64/src/debugger.c
- Timestamp:
- 2009-03-16T21:58:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36c061
- Parents:
- d9167a1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
rd9167a1c re2b762ec 36 36 #include <console/kconsole.h> 37 37 #include <console/cmd.h> 38 #include <symtab.h>39 38 #include <print.h> 40 39 #include <panic.h> … … 45 44 #include <func.h> 46 45 #include <smp/ipi.h> 46 47 #ifdef CONFIG_SYMTAB 48 #include <symtab.h> 49 #endif 47 50 48 51 typedef struct { … … 230 233 } 231 234 } 235 236 #ifdef CONFIG_SYMTAB 232 237 printf("Reached breakpoint %d:%lx(%s)\n", slot, getip(istate), 233 238 get_symtab_entry(getip(istate))); 239 #else 240 printf("Reached breakpoint %d:%lx\n", slot, getip(istate)); 241 #endif 234 242 235 243 #ifdef CONFIG_KCONSOLE … … 356 364 for (i = 0; i < BKPOINTS_MAX; i++) 357 365 if (breakpoints[i].address) { 366 #ifdef CONFIG_SYMTAB 358 367 symbol = get_symtab_entry(breakpoints[i].address); 368 #else 369 symbol = "n/a"; 370 #endif 359 371 360 372 #ifdef __32_BITS__
Note:
See TracChangeset
for help on using the changeset viewer.