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.
+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.
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 ();
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. */