From d1d0aea1ea3572451ed04dc22a31ec1c50c606de Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Wed, 15 Jul 2015 14:58:32 +0100 Subject: [PATCH] [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. --- gdb/ChangeLog | 6 ++++++ gdb/gdbserver/linux-aarch64-low.c | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 407dfb4a376..d1a8a0ed310 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-07-15 Pierre Langlois + + * linux-aarch64-low.c (aarch64_supports_range_stepping): New + function, return 1. + (the_low_target): Install it. + 2015-07-15 Markus Metzger Pedro Alves diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index b068e55fe2f..4534a474772 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.30.2