aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-05-01 17:46:32 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-05-01 17:46:32 +0000
commit944f08abcea5a400d587696f03efe8c5304f7f5e (patch)
tree67c2f86119d3428ae2805e1edfe7faa5e95888eb /gdb/exec.c
parent3471d59d313d799d8c4a281114a9a12f98337b03 (diff)
downloadgdb-944f08abcea5a400d587696f03efe8c5304f7f5e.zip
gdb-944f08abcea5a400d587696f03efe8c5304f7f5e.tar.gz
gdb-944f08abcea5a400d587696f03efe8c5304f7f5e.tar.bz2
* exec.c (print_section_info): Add missing '\n'.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index ea57fcd..dad3f33 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -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));