[commit] Minor comment reformatting in generic_elf_osabi_sniffer

Joel Brobecker brobecker@adacore.com
Mon Jul 4 19:53:00 GMT 2011


Comment says it all.  I just felt that putting some new text in
a separate paragraph allowed us to clearly identify the section
about ELFOSABI_NONE, and the part that talks about the new
ELFOSABI_GNU.

gdb/ChangeLog:

        * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting.

Checked in.

---
 gdb/ChangeLog |    4 ++++
 gdb/osabi.c   |    7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7174f0d..8d1fc9a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-04  Joel Brobecker  <brobecker@adacore.com>
+
+        * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting.
+
 2011-07-04  Tristan Gingold  <gingold@adacore.com>
 
 	* ada-tasks.c (KNOWN_TASKS_LIST): New macro.
diff --git a/gdb/osabi.c b/gdb/osabi.c
index e161b58..22130f0 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -519,9 +519,10 @@ generic_elf_osabi_sniffer (bfd *abfd)
          (0), then the ELF structures in the file are conforming to
          the base specification for that machine (there are no
          OS-specific extensions).  In order to determine the real OS
-         in use we must look for OS-specific notes.  The same applies
-         for ELFOSABI_GNU: this can mean GNU/Hurd, GNU/Linux, and
-         possibly more.  */
+         in use, we must look for OS-specific notes.
+
+         The same applies for ELFOSABI_GNU: this can mean GNU/Hurd,
+         GNU/Linux, and possibly more.  */
       bfd_map_over_sections (abfd,
 			     generic_elf_osabi_sniff_abi_tag_sections,
 			     &osabi);
-- 
1.7.1



More information about the Gdb-patches mailing list