projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gdb
/
sh-nbsd-tdep.c
diff --git
a/gdb/sh-nbsd-tdep.c
b/gdb/sh-nbsd-tdep.c
index bdf5e4f613080b74c43f075b84159c31603292f3..6551c47b5e166bfd7b0dea4461d97ab0b0d23363 100644
(file)
--- a/
gdb/sh-nbsd-tdep.c
+++ b/
gdb/sh-nbsd-tdep.c
@@
-26,6
+26,7
@@
#include "osabi.h"
#include "sh-tdep.h"
#include "osabi.h"
#include "sh-tdep.h"
+#include "nbsd-tdep.h"
#include "solib-svr4.h"
#include "gdbarch.h"
#include "solib-svr4.h"
#include "gdbarch.h"
@@
-63,6
+64,7
@@
shnbsd_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ nbsd_init_abi (info, gdbarch);
tdep->core_gregmap = (struct sh_corefile_regmap *)regmap;
tdep->sizeof_gregset = 84;
tdep->core_gregmap = (struct sh_corefile_regmap *)regmap;
tdep->sizeof_gregset = 84;
@@
-71,8
+73,9
@@
shnbsd_init_abi (struct gdbarch_info info,
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
}
+void _initialize_shnbsd_tdep ();
void
void
-_initialize_shnbsd_tdep (
void
)
+_initialize_shnbsd_tdep ()
{
gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_NETBSD,
shnbsd_init_abi);
{
gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_NETBSD,
shnbsd_init_abi);
This page took
0.025297 seconds
and
4
git commands to generate.