aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-s390-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-s390-low.cc')
-rw-r--r--gdbserver/linux-s390-low.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdbserver/linux-s390-low.cc b/gdbserver/linux-s390-low.cc
index 4c4b877..f944431 100644
--- a/gdbserver/linux-s390-low.cc
+++ b/gdbserver/linux-s390-low.cc
@@ -74,6 +74,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. */
@@ -502,6 +504,12 @@ s390_target::low_set_pc (regcache *regcache, CORE_ADDR newpc)
}
}
+int
+s390_target::low_decr_pc_after_break ()
+{
+ return s390_breakpoint_len;
+}
+
/* Determine the word size for the given PID, in bytes. */
#ifdef __s390x__
@@ -2826,7 +2834,6 @@ s390_emit_ops (void)
}
struct linux_target_ops the_low_target = {
- s390_breakpoint_len,
s390_breakpoint_at,
s390_supports_z_point_type,
NULL,