summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-cris-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-cris-low.c')
-rw-r--r--gdb/gdbserver/linux-cris-low.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/gdb/gdbserver/linux-cris-low.c b/gdb/gdbserver/linux-cris-low.c
index d7b70e3eae3..9f4519c1953 100644
--- a/gdb/gdbserver/linux-cris-low.c
+++ b/gdb/gdbserver/linux-cris-low.c
@@ -105,18 +105,6 @@ cris_breakpoint_at (CORE_ADDR where)
return 0;
}
-/* We only place breakpoints in empty marker functions, and thread locking
- is outside of the function. So rather than importing software single-step,
- we can just run until exit. */
-static CORE_ADDR
-cris_reinsert_addr (void)
-{
- struct regcache *regcache = get_thread_regcache (current_thread, 1);
- unsigned long pc;
- collect_register_by_name (regcache, "srp", &pc);
- return pc;
-}
-
static void
cris_arch_setup (void)
{
@@ -151,13 +139,9 @@ struct linux_target_ops the_low_target = {
cris_set_pc,
NULL, /* breakpoint_kind_from_pc */
cris_sw_breakpoint_from_kind,
- cris_reinsert_addr,
+ NULL, /* breakpoint_reinsert_addr */
0,
cris_breakpoint_at,
- 0,
- 0,
- 0,
- 0,
};
void