aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcnbsd-tdep.c
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/sparcnbsd-tdep.c
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/sparcnbsd-tdep.c')
-rw-r--r--gdb/sparcnbsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c
index bfdb114..c033303 100644
--- a/gdb/sparcnbsd-tdep.c
+++ b/gdb/sparcnbsd-tdep.c
@@ -281,7 +281,7 @@ sparc32nbsd_aout_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
sparc32nbsd_init_abi (info, gdbarch);
}
-static void
+void
sparc32nbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
sparc32nbsd_init_abi (info, gdbarch);