This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] [GDBserver][AArch64] Enable support for range stepping
- From: Pierre Langlois <pierre dot langlois at arm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Pierre Langlois <pierre dot langlois at arm dot com>
- Date: Wed, 15 Jul 2015 11:28:11 +0100
- Subject: [PATCH] [GDBserver][AArch64] Enable support for range stepping
- Authentication-results: sourceware.org; auth=none
Hi all,
This patch just enables range stepping for AArch64.
Regression tested in remote configuration. The gdb.base/range-stepping.exp
test is now enabled and gdb.trace/range-stepping.exp passes.
Thanks,
Pierre
gdb/gdbserver/Changelog:
* linux-aarch64-low.c (aarch64_supports_range_stepping): New
function, return 1.
(the_low_target): Install it.
---
gdb/gdbserver/linux-aarch64-low.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c
index b068e55..4534a47 100644
--- a/gdb/gdbserver/linux-aarch64-low.c
+++ b/gdb/gdbserver/linux-aarch64-low.c
@@ -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
--
2.1.0