aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-02-21 06:44:13 +0000
committerDoug Evans <dje@google.com>2012-02-21 06:44:13 +0000
commit28ee876ac0da60557a62baf9e3e828526ca64c0d (patch)
tree93262c28fd67c176d3ae5602e1ca98e00ac0ede4 /gdb
parentf59a8f7967facddb8fb242efc5bef2efaa9a3bca (diff)
downloadgdb-28ee876ac0da60557a62baf9e3e828526ca64c0d.zip
gdb-28ee876ac0da60557a62baf9e3e828526ca64c0d.tar.gz
gdb-28ee876ac0da60557a62baf9e3e828526ca64c0d.tar.bz2
* elfread.c (elf_symfile_segments): Fix warning text.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/elfread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6407471..ea2a21b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-20 Doug Evans <dje@sebabeach.org>
+
+ * elfread.c (elf_symfile_segments): Fix warning text.
+
2012-02-20 Tom Tromey <tromey@redhat.com>
PR gdb/13498:
diff --git a/gdb/elfread.c b/gdb/elfread.c
index d5114ee..f8ed10e 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -142,7 +142,7 @@ elf_symfile_segments (bfd *abfd)
binaries are not relocatable. */
if (bfd_get_section_size (sect) > 0 && j == num_segments
&& (bfd_get_section_flags (abfd, sect) & SEC_LOAD) != 0)
- warning (_("Loadable segment \"%s\" outside of ELF segments"),
+ warning (_("Loadable section \"%s\" outside of ELF segments"),
bfd_section_name (abfd, sect));
}