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 c0d4a3f2b7b4560adadd5d693afddd0f11c88c51..f2db9e9662e0e845ea30c9ca72b50a2c9e75333a 100644 (file)
@@ -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.
index da6c7b10377c75fb3b506785c62afaaa62c2ec4d..b6cf144c1ddef034192883b97ee2e5ff5dfc6d99 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".  */