Disable tracepoint support for aarch32

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.
This commit is contained in:
Yao Qi
2015-08-04 14:34:14 +01:00
parent 6085d6f695
commit 524b57e6b3
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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". */