aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@arm.com>2015-07-09 16:35:11 +0100
committerPierre Langlois <pierre.langlois@arm.com>2015-07-09 16:35:11 +0100
commit7671bf47fc6233087ec8b2ac2698f48a1d3f35f3 (patch)
treee285d50166dcda5c3d5fd39615b61661041c7360
parent7890fb45667484d99488b047551bc9dd6d1c9889 (diff)
downloadgdb-7671bf47fc6233087ec8b2ac2698f48a1d3f35f3.zip
gdb-7671bf47fc6233087ec8b2ac2698f48a1d3f35f3.tar.gz
gdb-7671bf47fc6233087ec8b2ac2698f48a1d3f35f3.tar.bz2
[GDBServer][AArch64] Enable support for tracepoints
gdb/gdbserver/ChangeLog: * linux-aarch64-low.c (aarch64_supports_tracepoints): New function. Return 1. (the_low_target): Install it.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbserver/linux-aarch64-low.c10
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6a5fe22..9d5a4c3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+ * linux-aarch64-low.c (aarch64_supports_tracepoints): New
+ function. Return 1.
+ (the_low_target): Install it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
* gdb.trace/backtrace.exp: Set registers for aarch64 target.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/mi-trace-frame-collected.exp: Likewise.
diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c
index 641b176..91afd1b 100644
--- a/gdb/gdbserver/linux-aarch64-low.c
+++ b/gdb/gdbserver/linux-aarch64-low.c
@@ -1276,6 +1276,14 @@ aarch64_regs_info (void)
return &regs_info;
}
+/* Implementation of linux_target_ops method "supports_tracepoints". */
+
+static int
+aarch64_supports_tracepoints (void)
+{
+ return 1;
+}
+
struct linux_target_ops the_low_target =
{
aarch64_arch_setup,
@@ -1302,6 +1310,8 @@ struct linux_target_ops the_low_target =
aarch64_linux_new_thread,
aarch64_linux_new_fork,
aarch64_linux_prepare_to_resume,
+ NULL,
+ aarch64_supports_tracepoints,
};
void