diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-12-26 19:27:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-12-26 19:27:03 +0000 |
commit | dfe1ff2efe86bf104de15a9e331b9ea99c9e4660 (patch) | |
tree | a51561069c7372d348d5780af96cdd1827a502d0 /gdb | |
parent | fb08a90b3c7ddfbf5e021983c5f6c52991cacb6a (diff) | |
download | gdb-dfe1ff2efe86bf104de15a9e331b9ea99c9e4660.zip gdb-dfe1ff2efe86bf104de15a9e331b9ea99c9e4660.tar.gz gdb-dfe1ff2efe86bf104de15a9e331b9ea99c9e4660.tar.bz2 |
* sparcobsd-tdep.c: Include "obsd-tdep.h".
(sparc32obsd_init_abi): Set skip_solib_resolver.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
* config/sparc/obsd.mt (TDEPFILES): Add obsd-tdep.o.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/config/sparc/obsd.mt | 2 | ||||
-rw-r--r-- | gdb/sparcobsd-tdep.c | 5 |
4 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7978e34..563b632 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2005-12-26 Mark Kettenis <kettenis@gnu.org> + * sparcobsd-tdep.c: Include "obsd-tdep.h". + (sparc32obsd_init_abi): Set skip_solib_resolver. + * Makefile.in (sparcobsd-tdep.o): Update dependencies. + * config/sparc/obsd.mt (TDEPFILES): Add obsd-tdep.o. + * obsd-tdep.c: New file. * obsd-tdep.h: New file. * Makefile.in (obsd_tdep_h): New variable. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e2db4a1..69a35af 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2631,7 +2631,7 @@ sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h) sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ $(frame_unwind_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \ - $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) + $(trad_frame_h) $(gdb_assert_h) $(obsd_tdep_h) $(sparc_tdep_h) sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ $(sparc_tdep_h) $(sparc64_tdep_h) sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \ diff --git a/gdb/config/sparc/obsd.mt b/gdb/config/sparc/obsd.mt index cadef28..8b31aa6 100644 --- a/gdb/config/sparc/obsd.mt +++ b/gdb/config/sparc/obsd.mt @@ -1,3 +1,3 @@ # Target: OpenBSD/sparc TDEPFILES= sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o nbsd-tdep.o \ - corelow.o solib.o solib-svr4.o + obsd-tdep.o corelow.o solib.o solib-svr4.o diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c index 3679534..88e4a78 100644 --- a/gdb/sparcobsd-tdep.c +++ b/gdb/sparcobsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/sparc. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -30,6 +30,7 @@ #include "gdb_assert.h" +#include "obsd-tdep.h" #include "sparc-tdep.h" /* Signal trampolines. */ @@ -150,6 +151,8 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* OpenBSD/sparc is very similar to NetBSD/sparc ELF. */ sparc32nbsd_elf_init_abi (info, gdbarch); + set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver); + frame_unwind_append_sniffer (gdbarch, sparc32obsd_sigtramp_frame_sniffer); } |