diff options
author | Joel Brobecker <brobecker@adacore.com> | 2014-12-13 10:02:26 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-12-13 10:26:47 -0500 |
commit | 8e8347b895af2f492df694c621e70b101d8eb146 (patch) | |
tree | a606dc97421c2fb3f4cca334c895ea37e4ef2d7c /gdb | |
parent | e07829801094dedf61c76757a1f6b15515df310b (diff) | |
download | gdb-8e8347b895af2f492df694c621e70b101d8eb146.zip gdb-8e8347b895af2f492df694c621e70b101d8eb146.tar.gz gdb-8e8347b895af2f492df694c621e70b101d8eb146.tar.bz2 |
Fix ARI warnings in gdb/compile/compile-object-load.c.
gdb/ChangeLog:
* compile/compile-object-load.c (link_callbacks_multiple_definition)
(link_callbacks_warning, link_callbacks_einfo): Remove trailing
newline at end of warning message.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/compile/compile-object-load.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eef8960..ac916de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2014-12-13 Joel Brobecker <brobecker@adacore.com> + * compile/compile-object-load.c (link_callbacks_multiple_definition) + (link_callbacks_warning, link_callbacks_einfo): Remove trailing + newline at end of warning message. + +2014-12-13 Joel Brobecker <brobecker@adacore.com> + * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for new "EXTRA-ARGS" parameter. * configure.ac: If large-file support is disabled in GDB, diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index eedc9fa..d254c39 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -149,7 +149,7 @@ link_callbacks_multiple_definition (struct bfd_link_info *link_info, if (link_info->allow_multiple_definition) return TRUE; - warning (_("Compiled module \"%s\": multiple symbol definitions: %s\n"), + warning (_("Compiled module \"%s\": multiple symbol definitions: %s"), bfd_get_filename (abfd), h->root.string); return FALSE; } @@ -161,7 +161,7 @@ link_callbacks_warning (struct bfd_link_info *link_info, const char *xwarning, const char *symbol, bfd *abfd, asection *section, bfd_vma address) { - warning (_("Compiled module \"%s\" section \"%s\": warning: %s\n"), + warning (_("Compiled module \"%s\" section \"%s\": warning: %s"), bfd_get_filename (abfd), bfd_get_section_name (abfd, section), xwarning); /* Maybe permit running as a module? */ @@ -236,7 +236,7 @@ link_callbacks_einfo (const char *fmt, ...) va_end (ap); cleanups = make_cleanup (xfree, str); - warning (_("Compile module: warning: %s\n"), str); + warning (_("Compile module: warning: %s"), str); do_cleanups (cleanups); } |