Module Name:    src
Committed By:   uwe
Date:           Mon Oct 31 23:30:27 UTC 2011

Modified Files:
        src/external/gpl3/gdb/dist/gdb: shnbsd-tdep.c

Log Message:
Minor cosmetics to minimize diffs with vendor branch.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.7 src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.8
--- src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.7	Mon Oct 31 23:23:52 2011
+++ src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c	Mon Oct 31 23:30:27 2011
@@ -282,11 +282,12 @@ shnbsd_init_abi (struct gdbarch_info inf
   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);
-  tramp_frame_prepend_unwinder (gdbarch, &shnbsd_sigtramp_si2);
+  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 @@ shnbsd_core_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
+/* Provide a prototype to silence -Wmissing-prototypes.  */
+extern initialize_file_ftype _initialize_shnbsd_tdep;
+
 void
 _initialize_shnbsd_tdep (void)
 {

Reply via email to