aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-01-21 20:59:50 +0000
committerMark Kettenis <kettenis@gnu.org>2006-01-21 20:59:50 +0000
commit878d91936fddadb1fa647386134bf65b0712ea08 (patch)
tree4c58ccbe945864e099455460c4101533e91d9cbc /gdb/amd64-tdep.c
parent67d78caad5228c04e198e8e5d96dc27fdc28adb9 (diff)
downloadgdb-878d91936fddadb1fa647386134bf65b0712ea08.zip
gdb-878d91936fddadb1fa647386134bf65b0712ea08.tar.gz
gdb-878d91936fddadb1fa647386134bf65b0712ea08.tar.bz2
* i386-tdep.c (i386_mxcsr_type): New variable.
(i386_init_types): Initialize i386_mxcsr_type. (i386_register_type): Return i386_mxcsr_type for %mxcsr. * i386-tdep.c (i386_mxcsr_type): New extern. * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for %mxcsr.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r--gdb/amd64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 1bea297..31a1281 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -121,7 +121,7 @@ static struct amd64_register_info const amd64_register_info[] =
{ "xmm13", &i386_sse_type },
{ "xmm14", &i386_sse_type },
{ "xmm15", &i386_sse_type },
- { "mxcsr", &builtin_type_int32 }
+ { "mxcsr", &i386_mxcsr_type }
};
/* Total number of registers. */