summaryrefslogtreecommitdiff
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
commit17def00b393d99f76e810ec3bac95a07455fc2a7 (patch)
tree852ac5b76481e121d9899a88b7cdab9b7a63bbf6 /gdb/sparcnbsd-tdep.c
parentef7bdfde27a86913adbe9f93c5ba46672d2f61d4 (diff)
downloadgdb-17def00b393d99f76e810ec3bac95a07455fc2a7.tar.gz
* 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 bfdb114d232..c033303fa46 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);