* exec.c (print_section_info): Add missing '\n'.

This commit is contained in:
Joel Brobecker 2008-05-01 17:46:32 +00:00
parent 3471d59d31
commit 944f08abce
2 changed files with 6 additions and 4 deletions

View 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 ...

View 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));