diff options
Diffstat (limited to 'gdb/amd64-darwin-tdep.c')
-rw-r--r-- | gdb/amd64-darwin-tdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c index db400cd..7f6cb94 100644 --- a/gdb/amd64-darwin-tdep.c +++ b/gdb/amd64-darwin-tdep.c @@ -29,6 +29,7 @@ #include "objfiles.h" #include "i387-tdep.h" +#include "x86-xstate.h" #include "amd64-tdep.h" #include "osabi.h" #include "ui-out.h" @@ -99,7 +100,8 @@ x86_darwin_init_abi_64 (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); - amd64_init_abi (info, gdbarch); + amd64_init_abi (info, gdbarch, + amd64_target_description (X86_XSTATE_SSE_MASK)); tdep->struct_return = reg_struct_return; @@ -115,9 +117,6 @@ x86_darwin_init_abi_64 (struct gdbarch_info info, struct gdbarch *gdbarch) set_solib_ops (gdbarch, &darwin_so_ops); } -/* -Wmissing-prototypes */ -extern initialize_file_ftype _initialize_amd64_darwin_tdep; - void _initialize_amd64_darwin_tdep (void) { |