This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
- From: "Alves, Pedro Miguel" <pedro dot alves dot ext at nsn dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 23 Oct 2007 12:18:01 -0000
- Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
- Reply-to: "Alves, Pedro Miguel" <pedro dot alves dot ext at nsn dot com>
The following reply was made to PR gdb/2336; it has been noted by GNATS.
From: "Alves, Pedro Miguel" <pedro.alves.ext@nsn.com>
To: <gdb-gnats@sources.redhat.com>, <nobody@sources.redhat.com>,
<lmcghaw@connx.com>, <gdb-prs@sources.redhat.com>
Cc:
Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
Date: Tue, 23 Oct 2007 13:11:43 +0100
http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&databa=
s
e=3Dgdb&pr=3D2336
Hi,
I'm building HEAD on solaris 9, and I see the same problem.
After fixing a typo in your patch, gdb works again:
CFLAGS=3D-g -O2 -I../../src/gdb/../include -I../bfd =
-I../../src/gdb/../bfd
LDFLAGS=3D -L../bfd -L../libiberty
+ sed s,${top_builddir}/,=20
+ echo ${top_builddir}/../intl/libintl.a /usr/local/lib/libiconv.so
-L/usr/local/lib -L/usr/openwin/lib -L/usr/local/ssl/lib
-R/usr/local/lib=20
sed: -e expression #1, char 19: unterminated `s' command
intl=3D
LIBS=3D-ldl -lncurses -lsocket -lnsl -lm -lbfd -liberty=20
Missed a comma. I've also added a `g' to be on the safe side:
-+intl=3D`echo $LIBINTL | sed 's,${top_builddir}/,'`
++intl=3D`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
Cheers,
Pedro Alves