mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-21 00:15:13 +00:00
* tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.
This commit is contained in:
parent
b97514f2dc
commit
2d5f09f0fa
@ -1,3 +1,7 @@
|
||||
2009-07-07 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.
|
||||
|
||||
2009-07-07 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* breakpoint.c (set_raw_breakpoint): Remove static modifier.
|
||||
|
@ -103,7 +103,8 @@ tui_make_status_line (struct tui_locator_element *loc)
|
||||
|
||||
/* Translate PC address. */
|
||||
pc_out = tui_sfileopen (128);
|
||||
fputs_filtered (paddress (loc->gdbarch, loc->addr), pc_out);
|
||||
fputs_filtered (loc->gdbarch? paddress (loc->gdbarch, loc->addr) : "??",
|
||||
pc_out);
|
||||
pc_buf = tui_file_get_strbuf (pc_out);
|
||||
pc_width = strlen (pc_buf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user