[GDBserver][AArch64] Enable support for range stepping
authorPierre Langlois <pierre.langlois@arm.com>
Wed, 15 Jul 2015 13:58:32 +0000 (14:58 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Wed, 15 Jul 2015 13:58:32 +0000 (14:58 +0100)
gdb/gdbserver/Changelog:

* linux-aarch64-low.c (aarch64_supports_range_stepping): New
function, return 1.
(the_low_target): Install it.

gdb/ChangeLog
gdb/gdbserver/linux-aarch64-low.c

index 407dfb4a376ed922188bc41feacf0efada7d7618..d1a8a0ed310d8c7092f7693020ce0a596d84ced8 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * linux-aarch64-low.c (aarch64_supports_range_stepping): New
+       function, return 1.
+       (the_low_target): Install it.
+
 2015-07-15  Markus Metzger  <markus.t.metzger@intel.com>
            Pedro Alves <palves@redhat.com>
 
index b068e55fe2f37ebcce78b5d473cfad733dd9ef06..4534a474772a664d8bd20bf9043755a18225f1ca 100644 (file)
@@ -1295,6 +1295,14 @@ aarch64_supports_tracepoints (void)
   return 1;
 }
 
+/* Implementation of linux_target_ops method "supports_range_stepping".  */
+
+static int
+aarch64_supports_range_stepping (void)
+{
+  return 1;
+}
+
 struct linux_target_ops the_low_target =
 {
   aarch64_arch_setup,
@@ -1323,6 +1331,11 @@ struct linux_target_ops the_low_target =
   aarch64_linux_prepare_to_resume,
   NULL, /* process_qsupported */
   aarch64_supports_tracepoints,
+  NULL, /* get_thread_area */
+  NULL, /* install_fast_tracepoint_jump_pad */
+  NULL, /* emit_ops */
+  NULL, /* get_min_fast_tracepoint_insn_len */
+  aarch64_supports_range_stepping,
 };
 
 void