diff options
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 8ead02f..8bf4776 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -261,6 +261,9 @@ tui_enable (void) tui_version = 1; tui_active = 1; + if (selected_frame) + tuiShowFrameInfo (selected_frame); + refresh (); tui_update_gdb_sizes (); } @@ -327,7 +330,7 @@ tuiGetLowDisassemblyAddress (CORE_ADDR low, CORE_ADDR pc) } void -strcat_to_buf (char *buf, int buflen, char *itemToAdd) +strcat_to_buf (char *buf, int buflen, const char *itemToAdd) { if (itemToAdd != (char *) NULL && buf != (char *) NULL) { |