summaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2012-06-13 20:29:15 +0000
committerMark Kettenis <kettenis@gnu.org>2012-06-13 20:29:15 +0000
commitfff4548bff0958dd77ee051e6b322f1c884896c9 (patch)
treed2bbbbb15c3295c6e10fd76d0dd84f95393b9784 /gdb/amd64-tdep.h
parentdd80ea3c315b22e0751f62d7049969903d9c95ec (diff)
downloadbinutils-gdb-fff4548bff0958dd77ee051e6b322f1c884896c9.tar.gz
H.J. Lu <hongjiu.lu@intel.com>
* i386-tdep.h (i386_pseudo_register_name): New prototype. * i386-tdep.c (i386_pseudo_register_name): Make public. * amd64-tdep.h (amd64_x32_init_abi): New prototype. * amd64-tdep.c (amd64_dword_names): Add "eip". (amd64_x32_pseudo_register_type): New function (amd64_x32_init_abi): New function.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r--gdb/amd64-tdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h
index 1ed109cdd04..cb901cc0ce7 100644
--- a/gdb/amd64-tdep.h
+++ b/gdb/amd64-tdep.h
@@ -80,6 +80,8 @@ extern void amd64_displaced_step_fixup (struct gdbarch *gdbarch,
struct regcache *regs);
extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
+extern void amd64_x32_init_abi (struct gdbarch_info info,
+ struct gdbarch *gdbarch);
/* Fill register REGNUM in REGCACHE with the appropriate
floating-point or SSE register value from *FXSAVE. If REGNUM is