diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-11-29 15:20:28 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-11-29 15:20:28 +0000 |
commit | 17def00b393d99f76e810ec3bac95a07455fc2a7 (patch) | |
tree | 852ac5b76481e121d9899a88b7cdab9b7a63bbf6 /gdb/sparcnbsd-tdep.c | |
parent | ef7bdfde27a86913adbe9f93c5ba46672d2f61d4 (diff) | |
download | gdb-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.c | 2 |
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); |