aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
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/i386-tdep.c
parentdd80ea3c315b22e0751f62d7049969903d9c95ec (diff)
downloadgdb-fff4548bff0958dd77ee051e6b322f1c884896c9.zip
gdb-fff4548bff0958dd77ee051e6b322f1c884896c9.tar.gz
gdb-fff4548bff0958dd77ee051e6b322f1c884896c9.tar.bz2
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/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 5b04505..6333556 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -2780,7 +2780,7 @@ i386_mmx_type (struct gdbarch *gdbarch)
/* Return the GDB type object for the "standard" data type of data in
register REGNUM. */
-static struct type *
+struct type *
i386_pseudo_register_type (struct gdbarch *gdbarch, int regnum)
{
if (i386_mmx_regnum_p (gdbarch, regnum))