aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;