This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 6/8] Pass a NULL pointer as the last argument to find_pc_partial_function.
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Sat, 11 Jun 2016 13:48:33 -0700
- Subject: [PATCH 6/8] Pass a NULL pointer as the last argument to find_pc_partial_function.
- Authentication-results: sourceware.org; auth=none
- References: <1465678115-58170-1-git-send-email-jhb at FreeBSD dot org>
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(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 243b717..d188af9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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". */
--
2.7.0