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.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/gdbserver/linux-s390-low.cc b/gdbserver/linux-s390-low.cc
index 464f60d..2ba0dec 100644
--- a/gdbserver/linux-s390-low.cc
+++ b/gdbserver/linux-s390-low.cc
@@ -62,6 +62,10 @@ public:
protected:
void low_arch_setup () override;
+
+ bool low_cannot_fetch_register (int regno) override;
+
+ bool low_cannot_store_register (int regno) override;
};
/* The singleton target ops object. */
@@ -157,16 +161,16 @@ static int s390_regmap_3264[] = {
#endif
-static int
-s390_cannot_fetch_register (int regno)
+bool
+s390_target::low_cannot_fetch_register (int regno)
{
- return 0;
+ return false;
}
-static int
-s390_cannot_store_register (int regno)
+bool
+s390_target::low_cannot_store_register (int regno)
{
- return 0;
+ return false;
}
static void
@@ -2808,8 +2812,6 @@ s390_emit_ops (void)
}
struct linux_target_ops the_low_target = {
- s390_cannot_fetch_register,
- s390_cannot_store_register,
NULL, /* fetch_register */
s390_get_pc,
s390_set_pc,