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 | 19671c2bed5867a22fd794843bec11d1c0f8f264 (patch) | |
tree | 902ec75fe51816215a9afc6629d09b42201665b5 /gdb/sparcnbsd-tdep.c | |
parent | a7498ae6da27216b89836d96a72ce166ef883030 (diff) | |
download | gdb-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.c | 2 |
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); |