diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2013-12-28 14:14:11 -0200 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2013-12-28 14:14:11 -0200 |
commit | 08248ca9fe11040e9a4126cefebc5023d1d67222 (patch) | |
tree | 22103d25fdd147294005d79f77ab26589dd14cf0 /bfd/version.h | |
parent | 52d2001f06c9d8aeeb6db0ce40c6bbfc2be8b0f2 (diff) | |
download | gdb-08248ca9fe11040e9a4126cefebc5023d1d67222.zip gdb-08248ca9fe11040e9a4126cefebc5023d1d67222.tar.gz gdb-08248ca9fe11040e9a4126cefebc5023d1d67222.tar.bz2 |
Implement SystemTap SDT probe support for AArch64
This commit implements the needed bits for SystemTap SDT probe support
on AArch64 architectures.
First, I started by looking at AArch64 assembly specification and
filling the necessary options on gdbarch's stap machinery in order to
make the generic asm parser (implemented in stap-probe.c) recognize
AArch64's asm.
After my last patch for the SystemTap SDT API, which extends it in order
to accept multiple prefixes and suffixes, this patch became simpler. I
also followed Marcus suggestion and did not shared code between 32- and
64-bit ARM.
Tom asked me in a previous message how I did my tests. I believe I
replied that, but just in case: I ran the tests on
gdb.base/stap-probe.exp by hand. I also managed to run the tests on
real hardware, and they pass without regressions.
2013-12-28 Sergio Durigan Junior <sergiodj@redhat.com>
PR tdep/15653
* NEWS: Mention SystemTap SDT probe support for AArch64 GNU/Linux.
* aarch64-linux-tdep.c: Include necessary headers for parsing of
SystemTap SDT probes.
(aarch64_stap_is_single_operand): New function.
(aarch64_stap_parse_special_token): Likewise.
(aarch64_linux_init_abi): Declare SystemTap SDT probe argument
prefixes and suffixes. Initialize gdbarch with them.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions