aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 8722058..ef50a98 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -378,7 +378,8 @@ tui_show_frame_info (struct frame_info *fi)
}
else
{
- if (find_pc_partial_function (get_frame_pc (fi), (char **) NULL,
+ if (find_pc_partial_function (get_frame_pc (fi),
+ (const char **) NULL,
&low, (CORE_ADDR) 0) == 0)
{
/* There is no symbol available for current PC. There is no