We only support tracepoint for aarch64. Although arm program can run
on aarch64, GDBserver doesn't support tracepoint for it.
gdb/gdbserver:
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_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
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". */