aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@arm.com>2015-07-15 14:58:32 +0100
committerPierre Langlois <pierre.langlois@arm.com>2015-07-15 14:58:32 +0100
commitd1d0aea1ea3572451ed04dc22a31ec1c50c606de (patch)
tree2ce39a9653a1396ffa4784286879a683b0437126 /gdb
parent42422cc7d6c2e816ef1c4d268f41b58c031344f2 (diff)
downloadgdb-d1d0aea1ea3572451ed04dc22a31ec1c50c606de.zip
gdb-d1d0aea1ea3572451ed04dc22a31ec1c50c606de.tar.gz
gdb-d1d0aea1ea3572451ed04dc22a31ec1c50c606de.tar.bz2
[GDBserver][AArch64] Enable support for range stepping
gdb/gdbserver/Changelog: * linux-aarch64-low.c (aarch64_supports_range_stepping): New function, return 1. (the_low_target): Install it.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbserver/linux-aarch64-low.c13
2 files changed, 19 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 407dfb4..d1a8a0e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
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