diff options
author | Mark Kettenis <kettenis@gnu.org> | 2007-03-02 21:28:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2007-03-02 21:28:18 +0000 |
commit | 861fb77c13cfcfb524aa8bafe2081fa8ea49f156 (patch) | |
tree | 4f4b742a696e23f3469e740d2eefc2f84f2ae9db /gdb/Makefile.in | |
parent | d6ed30ba0dfb11cbd14aa9077959621429f0dc92 (diff) | |
download | gdb-861fb77c13cfcfb524aa8bafe2081fa8ea49f156.zip gdb-861fb77c13cfcfb524aa8bafe2081fa8ea49f156.tar.gz gdb-861fb77c13cfcfb524aa8bafe2081fa8ea49f156.tar.bz2 |
* shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h". Don't include "nbsd-tdep.h".
(SIZEOF_STRUCT_REG): Remove.
(SHNBSD_SIZEOF_GREGS): New.
(shnbsd_supply_gregset, shnbsd_collect_gregset)
(shnbsd_regset_from_core_section): New functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(shnbsd_supply_reg, shnbsd_fill_reg): Simply call
shnbsd_supply_gregset, shnbsd_collect_gregset.
(shnbsd_gregset): New variable.
(shnbsd_init_abi): Set regset_from_core_section.
(GDB_OSABI_NETBSD_CORE): New define.
(shnbsd_core_osabi_sniffer): New function.
(_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
* Makefile.in (shnbsd-tdep.o): Update dependencies.
* config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
nbsd-tdep.o.
* config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index cfc805f..041f2eb 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2633,9 +2633,9 @@ sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \ $(osabi_h) $(elf_bfd_h) $(elf_sh_h) $(gdb_sim_sh_h) shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(sh_tdep_h) \ $(shnbsd_tdep_h) $(inf_ptrace_h) -shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \ - $(osabi_h) $(solib_svr4_h) $(nbsd_tdep_h) $(sh_tdep_h) \ - $(shnbsd_tdep_h) +shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(regset_h) \ + $(value_h) $(osabi_h) $(gdb_assert_h) $(gdb_string_h) $(sh_tdep_h) \ + $(shnbsd_tdep_h) $(solib_svr4_h) sh-stub.o: sh-stub.c sh-linux-tdep.o: sh-linux-tdep.c $(defs_h) $(osabi_h) $(solib_svr4_h) \ $(symtab_h) |