[GDBServer][AArch64] Enable support for tracepoints

gdb/gdbserver/ChangeLog:

	* linux-aarch64-low.c (aarch64_supports_tracepoints): New
	function.  Return 1.
	(the_low_target): Install it.
This commit is contained in:
Pierre Langlois 2015-07-09 16:35:11 +01:00
parent 7890fb4566
commit 7671bf47fc
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
* linux-aarch64-low.c (aarch64_supports_tracepoints): New
function. Return 1.
(the_low_target): Install it.
2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
* gdb.trace/backtrace.exp: Set registers for aarch64 target.

View File

@ -1276,6 +1276,14 @@ aarch64_regs_info (void)
return &regs_info;
}
/* Implementation of linux_target_ops method "supports_tracepoints". */
static int
aarch64_supports_tracepoints (void)
{
return 1;
}
struct linux_target_ops the_low_target =
{
aarch64_arch_setup,
@ -1302,6 +1310,8 @@ struct linux_target_ops the_low_target =
aarch64_linux_new_thread,
aarch64_linux_new_fork,
aarch64_linux_prepare_to_resume,
NULL,
aarch64_supports_tracepoints,
};
void