* amd64-tdep.c (amd64_sse_type): Remove.
authorMark Kettenis <kettenis@gnu.org>
Wed, 18 Jan 2006 21:26:47 +0000 (21:26 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 18 Jan 2006 21:26:47 +0000 (21:26 +0000)
commit5ae96ec1ab678eb70cf2d37b4c62b4f509718f1e
treefc2b44c073a7811103a62ab26f0f54b2d31c5f46
parent4f2aea11c7b01ee007960f6546b58846df591535
* amd64-tdep.c (amd64_sse_type): Remove.
(amd64_register_info): Use i386_eflags_type and i386_sse_type
where appropriate.
(AMD64_NUM_REGS): Use ARRAY_SIZE.
(amd64_register_type): Remove code to build amd_sse_type.
* i386-tdep.c (i386_eflag_type): New variable.
(i386_mmx_type, i386_sse_type): Make global.
(i386_init_types): New function.
(i386_build_mmx_type, i386_build_sse_type): Remove functions.
(i386_register_type): Return i386_eflag_type, i386_sse_type and
i386_mmx_type when appropriate.
(_initialize_i386_tdep): Call i386_init_types.
* i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
Declare extern.
Based on a previous patch form Michal Ludvig:
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/i386-tdep.c
gdb/i386-tdep.h