aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/mem-break.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-04-22 19:47:06 +0100
committerPedro Alves <palves@redhat.com>2014-04-23 18:53:36 +0100
commit51aa91f97976e0b4d6103d5c6e6a60bbd09be2fb (patch)
tree525b526c3abf8efee967fa2eba0b91f9da768423 /gdb/gdbserver/mem-break.c
parenta4165e94f452b3137a1071a5034853a93a9de1a2 (diff)
downloadgdb-51aa91f97976e0b4d6103d5c6e6a60bbd09be2fb.zip
gdb-51aa91f97976e0b4d6103d5c6e6a60bbd09be2fb.tar.gz
gdb-51aa91f97976e0b4d6103d5c6e6a60bbd09be2fb.tar.bz2
[gdbserver] mem-break.c:find_gdb_breakpoint_at: Make static.
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.
Diffstat (limited to 'gdb/gdbserver/mem-break.c')
-rw-r--r--gdb/gdbserver/mem-break.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c
index 5df950d..680e97f 100644
--- a/gdb/gdbserver/mem-break.c
+++ b/gdb/gdbserver/mem-break.c
@@ -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 ();