From 0d15807dcf72f2963fe2f162378ce923bcb7600c Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 5 Jan 2010 15:51:02 +0000 Subject: [PATCH] gdb/ * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. --- gdb/ChangeLog | 4 ++++ gdb/symfile.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6cf0c57abf8..82477783819 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-01-05 Jan Kratochvil + + * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. + 2010-01-04 Ulrich Weigand * features/Makefile (WHICH): Add s390-linux32, s390-linux64, diff --git a/gdb/symfile.c b/gdb/symfile.c index 11bc2af9c85..fe91fb664d9 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; -- 2.30.2