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.
This commit is contained in:
parent
bec734b212
commit
683cd65eb4
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-06-14 John Baldwin <jhb@FreeBSD.org>
|
||||
|
||||
* tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
|
||||
|
||||
2016-06-14 John Baldwin <jhb@FreeBSD.org>
|
||||
|
||||
* rs6000-tdep.c (ppc_process_record_op31): Initialize ra.
|
||||
|
|
|
@ -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". */
|
||||
|
|
Loading…
Reference in a new issue