Pass a NULL pointer as the last argument to find_pc_partial_function.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 11 Jun 2016 15:15:09 +0000 (08:15 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 14 Jun 2016 18:49:34 +0000 (11:49 -0700)
gdb/ChangeLog:

* tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.

gdb/ChangeLog
gdb/tui/tui-stack.c

index c0d4a3f..f2db9e9 100644 (file)
@@ -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>
index da6c7b1..b6cf144 100644 (file)
@@ -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".  */