43,10 → 43,7 |
#include <debug.h> |
#include <func.h> |
#include <smp/ipi.h> |
|
#ifdef CONFIG_SYMTAB |
#include <symtab.h> |
#endif |
|
typedef struct { |
uintptr_t address; /**< Breakpoint address */ |
233,12 → 230,8 |
} |
} |
|
#ifdef CONFIG_SYMTAB |
printf("Reached breakpoint %d:%lx(%s)\n", slot, getip(istate), |
get_symtab_entry(getip(istate))); |
#else |
printf("Reached breakpoint %d:%lx\n", slot, getip(istate)); |
#endif |
printf("Reached breakpoint %d:%lx (%s)\n", slot, getip(istate), |
symtab_fmt_name_lookup(getip(istate))); |
|
#ifdef CONFIG_KCONSOLE |
atomic_set(&haltstate, 1); |
363,11 → 356,8 |
|
for (i = 0; i < BKPOINTS_MAX; i++) |
if (breakpoints[i].address) { |
#ifdef CONFIG_SYMTAB |
symbol = get_symtab_entry(breakpoints[i].address); |
#else |
symbol = "n/a"; |
#endif |
symbol = symtab_fmt_name_lookup( |
breakpoints[i].address); |
|
#ifdef __32_BITS__ |
printf("%-2u %-5d %#10zx %s\n", i, |