Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Minor cosmetics to minimize diffs...
details: https://anonhg.NetBSD.org/src/rev/442c51843b7a
branches: trunk
changeset: 770759:442c51843b7a
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Oct 31 23:30:27 2011 +0000
description:
Minor cosmetics to minimize diffs with vendor branch.
diffstat:
external/gpl3/gdb/dist/gdb/shnbsd-tdep.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 848a726b2e6f -r 442c51843b7a external/gpl3/gdb/dist/gdb/shnbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c Mon Oct 31 23:23:52 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c Mon Oct 31 23:30:27 2011 +0000
@@ -282,11 +282,12 @@
set_gdbarch_regset_from_core_section
(gdbarch, shnbsd_regset_from_core_section);
- set_solib_svr4_fetch_link_map_offsets (gdbarch,
- nbsd_ilp32_solib_svr4_fetch_link_map_offsets);
+ set_solib_svr4_fetch_link_map_offsets
+ (gdbarch, nbsd_ilp32_solib_svr4_fetch_link_map_offsets);
+
tramp_frame_prepend_unwinder (gdbarch, &shnbsd_sigtramp_si2);
-
}
+
static enum gdb_osabi
shnbsd_core_osabi_sniffer (bfd *abfd)
@@ -297,6 +298,9 @@
return GDB_OSABI_UNKNOWN;
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_shnbsd_tdep;
+
void
_initialize_shnbsd_tdep (void)
{
Home |
Main Index |
Thread Index |
Old Index