aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-bfin-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-bfin-low.cc')
-rw-r--r--gdbserver/linux-bfin-low.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdbserver/linux-bfin-low.cc b/gdbserver/linux-bfin-low.cc
index 17948ed..23d0342 100644
--- a/gdbserver/linux-bfin-low.cc
+++ b/gdbserver/linux-bfin-low.cc
@@ -46,6 +46,8 @@ protected:
CORE_ADDR low_get_pc (regcache *regcache) override;
void low_set_pc (regcache *regcache, CORE_ADDR newpc) override;
+
+ int low_decr_pc_after_break () override;
};
/* The singleton target ops object. */
@@ -70,6 +72,12 @@ bfin_target::low_set_pc (regcache *regcache, CORE_ADDR pc)
linux_set_pc_32bit (regcache, pc);
}
+int
+bfin_target::low_decr_pc_after_break ()
+{
+ return 2;
+}
+
/* Defined in auto-generated file reg-bfin.c. */
void init_registers_bfin (void);
extern const struct target_desc *tdesc_bfin;
@@ -161,7 +169,6 @@ bfin_target::get_regs_info ()
}
struct linux_target_ops the_low_target = {
- 2,
bfin_breakpoint_at,
NULL, /* supports_z_point_type */
NULL, /* insert_point */