diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-11 08:15:09 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-06-14 11:49:34 -0700 |
commit | 683cd65eb4787e3e2921076699e0ca9b00762df3 (patch) | |
tree | a22468f6b6c6ee61a6b9428a9f67b5a4cc5d9f4a /gdb | |
parent | bec734b212d68d96560e309f49a584d98b98fbdc (diff) | |
download | gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.zip gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.tar.gz gdb-683cd65eb4787e3e2921076699e0ca9b00762df3.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tui/tui-stack.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0d4a3f..f2db9e9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. 2016-06-13 Nick Clifton <nickc@redhat.com> diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index da6c7b1..b6cf144 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". */ |