Mark Kettenis
861fb77c13
* 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.
2007-03-02 21:28:18 +00:00
..
2007-01-09 17:59:20 +00:00
2007-02-26 19:20:21 +00:00
2006-11-24 18:23:34 +00:00
2004-11-01 14:44:58 +00:00
2007-01-09 17:59:20 +00:00
2007-01-09 17:59:20 +00:00
2005-02-15 02:05:10 +00:00
2007-01-11 21:53:29 +00:00
2007-01-09 17:59:20 +00:00
2005-03-08 08:59:47 +00:00
2006-04-20 23:18:48 +00:00
2007-01-09 17:59:20 +00:00
2003-09-03 15:02:51 +00:00
2007-01-09 17:59:20 +00:00
2005-01-04 20:41:24 +00:00
2007-02-23 22:50:41 +00:00
2007-02-28 01:34:01 +00:00
2005-09-02 22:53:35 +00:00
2005-12-12 11:25:08 +00:00
2007-01-09 17:59:20 +00:00
2007-02-27 23:04:28 +00:00
2007-02-27 23:04:28 +00:00
2007-01-09 17:59:20 +00:00
2007-01-05 01:15:11 +00:00
2007-03-02 21:28:18 +00:00
2007-01-09 17:59:20 +00:00
2006-11-22 13:49:53 +00:00
2005-05-18 08:52:21 +00:00
2007-01-09 17:59:20 +00:00
2006-11-14 21:53:59 +00:00
2007-01-09 17:59:20 +00:00
2007-01-09 17:59:20 +00:00
2007-01-09 17:59:20 +00:00
2007-01-09 17:59:20 +00:00
2007-01-09 17:59:20 +00:00