Fixed bugs introduced by sym table changes.
This commit is contained in:
parent
79c5899929
commit
0c3389f084
2
sim.c
2
sim.c
|
@ -53,7 +53,7 @@ static void io_prefix(const char *prefix, u_int16_t addr, int is_byte)
|
||||||
if (!stab_nearest(pc, name, sizeof(name), &pc)) {
|
if (!stab_nearest(pc, name, sizeof(name), &pc)) {
|
||||||
printf("%s", name);
|
printf("%s", name);
|
||||||
if (pc)
|
if (pc)
|
||||||
printf("+0x%x", addr);
|
printf("+0x%x", pc);
|
||||||
} else {
|
} else {
|
||||||
printf("0x%04x", pc);
|
printf("0x%04x", pc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue