[GDBServer][AArch64] Enable support for tracepoints
authorPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:11 +0000 (16:35 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:11 +0000 (16:35 +0100)
gdb/gdbserver/ChangeLog:

* linux-aarch64-low.c (aarch64_supports_tracepoints): New
function.  Return 1.
(the_low_target): Install it.

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

index 6a5fe22873fc99151028e35d59edae3943c431c6..9d5a4c3ba87b8d4c7c26778f3dc8066fda618023 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 641b176dea8a27c4276439db0635a09c112532f2..91afd1bebcb001decff61c5a90d1ec93a6f3c4a7 100644 (file)
@@ -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