* [PATCH] [GDBserver][AArch64] Enable support for range stepping
@ 2015-07-15 10:28 Pierre Langlois
2015-07-15 11:57 ` Yao Qi
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Langlois @ 2015-07-15 10:28 UTC (permalink / raw)
To: gdb-patches; +Cc: Pierre Langlois
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-15 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15 10:28 [PATCH] [GDBserver][AArch64] Enable support for range stepping Pierre Langlois
2015-07-15 11:57 ` Yao Qi
2015-07-15 14:05 ` Pierre Langlois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox