aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-ia64-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-ia64-low.cc')
-rw-r--r--gdbserver/linux-ia64-low.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/gdbserver/linux-ia64-low.cc b/gdbserver/linux-ia64-low.cc
index d6508d2..471530a 100644
--- a/gdbserver/linux-ia64-low.cc
+++ b/gdbserver/linux-ia64-low.cc
@@ -34,6 +34,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. */
@@ -283,16 +287,16 @@ static int ia64_regmap[] =
-1,
};
-static int
-ia64_cannot_store_register (int regno)
+bool
+ia64_target::low_cannot_store_register (int regno)
{
- return 0;
+ return false;
}
-static int
-ia64_cannot_fetch_register (int regno)
+bool
+ia64_target::low_cannot_fetch_register (int regno)
{
- return 0;
+ return false;
}
/* GDB register numbers. */
@@ -363,8 +367,6 @@ ia64_target::low_arch_setup ()
struct linux_target_ops the_low_target = {
- ia64_cannot_fetch_register,
- ia64_cannot_store_register,
ia64_fetch_register,
};