aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-05-27 09:17:24 +0000
committerMartin Hunt <hunt@redhat.com>2002-05-27 09:17:24 +0000
commit3139facc61e1f4b0af8b814d6775590188b3d79c (patch)
tree336ea54597640e31c1b30b83730b3aa625c5d9cd /gdb/i386-tdep.c
parent3eee1e9d04a0b9337ac03282c8483531cd21d536 (diff)
downloadgdb-3139facc61e1f4b0af8b814d6775590188b3d79c.zip
gdb-3139facc61e1f4b0af8b814d6775590188b3d79c.tar.gz
gdb-3139facc61e1f4b0af8b814d6775590188b3d79c.tar.bz2
2002-05-27 Martin M. Hunt <hunt@redhat.com>
* i386-tdep.c (i386_register_virtual_type): Return builtin_type_vec128i for SSE registers. * gdbtypes.h (builtin_type_vec128i): Declare. * gdbtypes.c (build_builtin_type_vec128i): New function. (builtin_type_v2_double, builtin_type_v4_int64): New types. (builtin_type_vec128i): New type for SSE2 128-bit registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch.
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 ddc461e..54746ee 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -1058,7 +1058,7 @@ i386_register_virtual_type (int regnum)
return builtin_type_i387_ext;
if (IS_SSE_REGNUM (regnum))
- return builtin_type_v4sf;
+ return builtin_type_vec128i;
return builtin_type_int;
}