diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-15 14:58:32 +0100 |
---|---|---|
committer | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-15 14:58:32 +0100 |
commit | d1d0aea1ea3572451ed04dc22a31ec1c50c606de (patch) | |
tree | 2ce39a9653a1396ffa4784286879a683b0437126 /gdb/gdbserver | |
parent | 42422cc7d6c2e816ef1c4d268f41b58c031344f2 (diff) | |
download | gdb-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/gdbserver')
-rw-r--r-- | gdb/gdbserver/linux-aarch64-low.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 |