diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-08-19 15:15:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-08-19 15:15:18 +0000 |
commit | 8695c747d81a46944b5e7fbf91a29e60bc75ec8a (patch) | |
tree | 6cd60ddca9b65060de414b774d46681879de4769 /gdb/amd64-tdep.h | |
parent | c17eaafea78b9fef73ab2ec654812c8a1f31987a (diff) | |
download | gdb-8695c747d81a46944b5e7fbf91a29e60bc75ec8a.zip gdb-8695c747d81a46944b5e7fbf91a29e60bc75ec8a.tar.gz gdb-8695c747d81a46944b5e7fbf91a29e60bc75ec8a.tar.bz2 |
gdb/
* Makefile.in (amd64_linux_tdep_h): New.
(amd64-linux-nat.o, amd64-linux-tdep.o): Update.
* amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
ORIG_RAX.
(_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
* amd64-linux-tdep.c (amd64_linux_register_name)
(amd64_linux_register_type, amd64_linux_register_reggroup_p)
(amd64_linux_write_pc): New.
(amd64_linux_init_abi): Use them, and update num_regs.
* amd64-linux-tdep.h: New file.
* amd64-tdep.c (amd64_register_name, amd64_register_type): Make
public.
* amd64-tdep.h (amd64_register_name, amd64_register_type): New
prototypes.
* regformats/reg-x86-64-linux.dat: New file.
gdb/testsuite/
* Makefile.in (clean): Clean reg-x86-64-linux.c.
(reg-x86-64-linux.o, reg-x86-64-linux.c): New.
* configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
* linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
(x86_64_fill_gregset, x86_64_store_gregset): Skip floating
point registers.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r-- | gdb/amd64-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index f2670af..0fc0f5b 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -64,6 +64,12 @@ enum amd64_regnum extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch); +/* Functions from amd64-tdep.c which may be needed on architectures + with extra registers. */ + +extern const char *amd64_register_name (int regnum); +extern struct type *amd64_register_type (struct gdbarch *gdbarch, int regnum); + /* Fill register REGNUM in REGCACHE with the appropriate floating-point or SSE register value from *FXSAVE. If REGNUM is -1, do this for all registers. This function masks off any of the |