[gdbserver] mem-break.c:find_gdb_breakpoint_at: Make static.
authorPedro Alves <palves@redhat.com>
Tue, 22 Apr 2014 18:47:06 +0000 (19:47 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 23 Apr 2014 17:53:36 +0000 (18:53 +0100)
Nothing calls this outside mem-break.c.

gdb/gdbserver/
2014-04-23  Pedro Alves  <palves@redhat.com>

* mem-break.c (find_gdb_breakpoint_at): Make static.
* mem-break.h (find_gdb_breakpoint_at): Delete declaration.

gdb/gdbserver/ChangeLog
gdb/gdbserver/mem-break.c
gdb/gdbserver/mem-break.h

index c419e43c9f2e4251e4f2a6fc4617b15dfef10a0e..f6ece1c7b0f6fa2181d222728996d14406f8d661 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * mem-break.c (find_gdb_breakpoint_at): Make static.
+       * mem-break.h (find_gdb_breakpoint_at): Delete declaration.
+
 2014-04-23  Pedro Alves  <palves@redhat.com>
 
        * i386-low.c: Don't include break-common.h here.
index 5df950d34809148c042a8f6bd1dbe937c3aef4d9..680e97fe62d7576225c09d8509abee4f62994273 100644 (file)
@@ -676,7 +676,10 @@ delete_breakpoint (struct breakpoint *todel)
   return delete_breakpoint_1 (proc, todel);
 }
 
-struct breakpoint *
+/* Locate a breakpoint placed at address WHERE and return a pointer
+   to its structure.  */
+
+static struct breakpoint *
 find_gdb_breakpoint_at (CORE_ADDR where)
 {
   struct process_info *proc = current_process ();
index 4346881b5b7f3141e169661aad59d3f1d9fbf47a..74369a7b79a93ab5dec736dd1de754fdc4e2e1c2 100644 (file)
 struct breakpoint;
 struct fast_tracepoint_jump;
 
-/* Locate a breakpoint placed at address WHERE and return a pointer
-   to its structure.  */
-
-struct breakpoint *find_gdb_breakpoint_at (CORE_ADDR where);
-
 /* Create a new GDB breakpoint at WHERE.  Returns -1 if breakpoints
    are not supported on this target, 0 otherwise.  */