From: John Baldwin Date: Sat, 11 Jun 2016 15:15:09 +0000 (-0700) Subject: Pass a NULL pointer as the last argument to find_pc_partial_function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=683cd65eb4787e3e2921076699e0ca9b00762df3;p=binutils-gdb.git Pass a NULL pointer as the last argument to find_pc_partial_function. gdb/ChangeLog: * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0d4a3f2b7b..f2db9e9662e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-06-14 John Baldwin + + * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch. + 2016-06-14 John Baldwin * rs6000-tdep.c (ppc_process_record_op31): Initialize ra. diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index da6c7b10377..b6cf144c1dd 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -416,7 +416,7 @@ tui_show_frame_info (struct frame_info *fi) { if (find_pc_partial_function (get_frame_pc (fi), (const char **) NULL, - &low, (CORE_ADDR) 0) == 0) + &low, NULL) == 0) { /* There is no symbol available for current PC. There is no safe way how to "disassemble backwards". */