diff options
author | Tom Tromey <tromey@adacore.com> | 2020-10-29 08:47:16 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-11-02 12:10:51 -0700 |
commit | 257e02d836ce102dfadee77b54c6d34059007065 (patch) | |
tree | e81ee0e58d1e107e643b91726bd7100ef0cc48a0 /gdb/amd64-tdep.c | |
parent | 74d877e5221f3459aa9f4f9354194b714d306e18 (diff) | |
download | gdb-257e02d836ce102dfadee77b54c6d34059007065.zip gdb-257e02d836ce102dfadee77b54c6d34059007065.tar.gz gdb-257e02d836ce102dfadee77b54c6d34059007065.tar.bz2 |
Add x86_64 ravenscar support
Support for x86_64 ravenscar was recently added to the Ada runtime.
This patch updates gdb to follow.
As this is Ada-specific, and was reviewed internally by Joel, I am
checking it in.
2020-11-02 Tom Tromey <tromey@adacore.com>
* Makefile.in (ALL_64_TARGET_OBS): Add amd64-ravenscar-thread.o.
(ALLDEPFILES): Add amd64-ravenscar-thread.c.
(HFILES_NO_SRCDIR): Add amd64-ravenscar-thread.h.
* amd64-ravenscar-thread.c: New file.
* amd64-ravenscar-thread.h: New file.
* amd64-tdep.c (amd64_init_abi): Register ravenscar ops.
* configure.tgt (amd64_tobjs): Add ravenscar objects.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 975718b..31d4d34 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -49,6 +49,7 @@ #include "gdbsupport/byte-vector.h" #include "osabi.h" #include "x86-tdep.h" +#include "amd64-ravenscar-thread.h" /* Note that the AMD64 architecture was previously known as x86-64. The latter is (forever) engraved into the canonical system name as @@ -3256,6 +3257,8 @@ amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch, set_gdbarch_in_indirect_branch_thunk (gdbarch, amd64_in_indirect_branch_thunk); + + register_amd64_ravenscar_ops (gdbarch); } /* Initialize ARCH for x86-64, no osabi. */ |