aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-01-05 15:51:02 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-01-05 15:51:02 +0000
commit0d15807dcf72f2963fe2f162378ce923bcb7600c (patch)
tree35aef89a7326cc9dbfdfbe96f88e0496dc1dadb4 /gdb
parent30bc8c4670a8c99dbfd7e7b31d2e794dab54fcda (diff)
downloadgdb-0d15807dcf72f2963fe2f162378ce923bcb7600c.zip
gdb-0d15807dcf72f2963fe2f162378ce923bcb7600c.tar.gz
gdb-0d15807dcf72f2963fe2f162378ce923bcb7600c.tar.bz2
gdb/
* symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symfile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6cf0c57..8247778 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
+
2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
* features/Makefile (WHICH): Add s390-linux32, s390-linux64,
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 11bc2af..fe91fb6 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -799,7 +799,7 @@ syms_from_objfile (struct objfile *objfile,
We no longer warn if the lowest section is not a text segment (as
happens for the PA64 port. */
- if (!mainline && addrs && addrs->other[0].name)
+ if (addrs && addrs->other[0].name)
{
asection *lower_sect;
asection *sect;