[BUG] Regression in 2.14.90 (relative to 2.13.90)
H. J. Lu
hjl@lucon.org
Wed Nov 26 01:08:00 GMT 2003
More information about the Binutils mailing list
Wed Nov 26 01:08:00 GMT 2003
- Previous message (by thread): [BUG] Regression in 2.14.90 (relative to 2.13.90)
- Next message (by thread): [BUG] Regression in 2.14.90 (relative to 2.13.90)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Nov 25, 2003 at 11:02:48PM +0100, Carlo Wood wrote: > On Tue, Nov 25, 2003 at 09:29:09AM -0800, H. J. Lu wrote: > > Have you tried it on my testcase: > > > > http://sources.redhat.com/ml/binutils/2003-06/msg00473.html > > With 2.13.90: > > ~/c++/tests/binutils>make > g++ -g -c -o test01a.o test01a.cpp > g++ -g -c -o test01b.o test01b.cpp > g++ -g -c -o test01c.o test01c.cpp > g++ -g -o test test01a.o test01b.o test01c.o > gdb test > gdb.log > bp2=`grep -i Breakpoint gdb.log | grep test01a.h | grep "line 4"` || exit 1; \ > echo $bp2 | grep 0x0:; \ > if [ $? = 0 ]; then exit 1; else true; fi > Breakpoint 2 at 0x0: file test01a.h, line 4. > make: *** [all] Error 1 > > > With 2.14.90, without Nicks patch: > > ~/c++/tests/binutils>make > g++ -g -c -o test01a.o test01a.cpp > g++ -g -c -o test01b.o test01b.cpp > g++ -g -c -o test01c.o test01c.cpp > g++ -g -o test test01a.o test01b.o test01c.o > gdb test > gdb.log > bp2=`grep -i Breakpoint gdb.log | grep test01a.h | grep "line 4"` || exit 1; \ > echo $bp2 | grep 0x0:; \ > if [ $? = 0 ]; then exit 1; else true; fi > ~/c++/tests/binutils> > > > With 2.14.90 *with* Nicks patch: > > ~/c++/tests/binutils>make > g++ -g -c -o test01a.o test01a.cpp > g++ -g -c -o test01b.o test01b.cpp > g++ -g -c -o test01c.o test01c.cpp > g++ -g -o test test01a.o test01b.o test01c.o > gdb test > gdb.log > bp2=`grep -i Breakpoint gdb.log | grep test01a.h | grep "line 4"` || exit 1; \ > echo $bp2 | grep 0x0:; \ > if [ $? = 0 ]; then exit 1; else true; fi > Breakpoint 2 at 0x0: file test01a.h, line 4. > make: *** [all] Error 1 > > > Imho, this means that gdb is bugged, not ld. > Ther is a bug between gcc, binutils and gdb. Do you have a testcase similar to mine? H.J.
- Previous message (by thread): [BUG] Regression in 2.14.90 (relative to 2.13.90)
- Next message (by thread): [BUG] Regression in 2.14.90 (relative to 2.13.90)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list