aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-11-29 15:20:28 +0000
committerMark Kettenis <kettenis@gnu.org>2004-11-29 15:20:28 +0000
commit19671c2bed5867a22fd794843bec11d1c0f8f264 (patch)
tree902ec75fe51816215a9afc6629d09b42201665b5 /gdb/sparc-tdep.h
parenta7498ae6da27216b89836d96a72ce166ef883030 (diff)
downloadgdb-19671c2bed5867a22fd794843bec11d1c0f8f264.zip
gdb-19671c2bed5867a22fd794843bec11d1c0f8f264.tar.gz
gdb-19671c2bed5867a22fd794843bec11d1c0f8f264.tar.bz2
* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global. * sparcobsd-tdep.c (sparc32obsd_init_abi): Call sparc32nbsd_elf_init_abi. Remove duplicate code.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r--gdb/sparc-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h
index bbfbb42..9058d06 100644
--- a/gdb/sparc-tdep.h
+++ b/gdb/sparc-tdep.h
@@ -198,6 +198,9 @@ extern void sparc32_sol2_init_abi (struct gdbarch_info info,
/* Register offsets for NetBSD. */
extern const struct sparc_gregset sparc32nbsd_gregset;
+extern void sparc32nbsd_elf_init_abi (struct gdbarch_info info,
+ struct gdbarch *gdbarch);
+
extern struct trad_frame_saved_reg *
sparc32nbsd_sigcontext_saved_regs (struct frame_info *next_frame);