projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change tui_show_symtab_source to be a method
[external/binutils.git]
/
gdb
/
amd64-nbsd-tdep.c
diff --git
a/gdb/amd64-nbsd-tdep.c
b/gdb/amd64-nbsd-tdep.c
index
02bf427
..
331cb8a
100644
(file)
--- a/
gdb/amd64-nbsd-tdep.c
+++ b/
gdb/amd64-nbsd-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for NetBSD/amd64.
/* Target-dependent code for NetBSD/amd64.
- Copyright (C) 2003-201
7
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-25,6
+25,7
@@
#include "symtab.h"
#include "amd64-tdep.h"
#include "symtab.h"
#include "amd64-tdep.h"
+#include "gdbsupport/x86-xstate.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"
@@
-103,7
+104,8
@@
amd64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tdep->gregset_num_regs = ARRAY_SIZE (amd64nbsd_r_reg_offset);
tdep->sizeof_gregset = 26 * 8;
tdep->gregset_num_regs = ARRAY_SIZE (amd64nbsd_r_reg_offset);
tdep->sizeof_gregset = 26 * 8;
- amd64_init_abi (info, gdbarch, tdesc_amd64);
+ amd64_init_abi (info, gdbarch,
+ amd64_target_description (X86_XSTATE_SSE_MASK, true));
tdep->jb_pc_offset = 7 * 8;
tdep->jb_pc_offset = 7 * 8;
@@
-117,10
+119,6
@@
amd64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
}
-
\f
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_amd64nbsd_tdep (void);
void
_initialize_amd64nbsd_tdep (void)
void
_initialize_amd64nbsd_tdep (void)