diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-aarch64-low.c | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 1227686..43cae40 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 2015-08-04 Yao Qi <yao.qi@linaro.org> + * linux-aarch64-low.c (aarch64_supports_tracepoints): Return 0 + if current_thread is 32 bit. + +2015-08-04 Yao Qi <yao.qi@linaro.org> + * linux-aarch64-low.c (aarch64_supports_z_point_type): Return 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging. * server.c (extended_protocol): Remove "static". diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index 90d2b43..da472ae 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -701,7 +701,13 @@ aarch64_regs_info (void) static int aarch64_supports_tracepoints (void) { - return 1; + if (current_thread == NULL) + return 1; + else + { + /* We don't support tracepoints on aarch32 now. */ + return is_64bit_tdesc (); + } } /* Implementation of linux_target_ops method "supports_range_stepping". */ |