* exec.c (print_section_info): Add missing '\n'.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 1 May 2008 17:46:32 +0000 (17:46 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 1 May 2008 17:46:32 +0000 (17:46 +0000)
gdb/ChangeLog
gdb/exec.c

index 9d1d6bdfdd49e505374b0bbd7cb1ba491ccff529..4818d15bcec812f40a95e20f514976cab19becf9 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-01  Nick Roberts  <nickrob@snap.net.nz>
+
+       * exec.c (print_section_info): Add missing '\n'.
+
 2008-05-01  Vladimir Prus  <vladimir@codesourcery.com>
 
        * thread.c (add_thread): Move observer call to ...
index ea57fcd67cdd3563924771c5f05e71d826fdb4ba..dad3f33c24913895b9d226f5f04e7730b3531455 100644 (file)
@@ -543,10 +543,8 @@ print_section_info (struct target_ops *t, bfd *abfd)
   wrap_here ("        ");
   printf_filtered (_("file type %s.\n"), bfd_get_target (abfd));
   if (abfd == exec_bfd)
-    {
-      printf_filtered (_("\tEntry point: "));
-      fputs_filtered (paddress (bfd_get_start_address (abfd)), gdb_stdout);
-    }
+    printf_filtered (_("\tEntry point: %s\n"),
+                     paddress (bfd_get_start_address (abfd)));
   for (p = t->to_sections; p < t->to_sections_end; p++)
     {
       printf_filtered ("\t%s", hex_string_custom (p->addr, wid));