[6/8] Pass a NULL pointer as the last argument to find_pc_partial_function.
Commit Message
gdb/ChangeLog:
* tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
---
gdb/ChangeLog | 4 ++++
gdb/tui/tui-stack.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Comments
On Sat, Jun 11, 2016 at 9:48 PM, John Baldwin <jhb@freebsd.org> wrote:
> gdb/ChangeLog:
>
> * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
Patch is good to me.
@@ -1,5 +1,9 @@
2016-06-11 John Baldwin <jhb@FreeBSD.org>
+ * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
+
+2016-06-11 John Baldwin <jhb@FreeBSD.org>
+
* sh64-tdep.c (sh64_analyze_prologue): Compare FP register against
-1 to detect missing FP.
@@ -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". */