From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12393 invoked by alias); 8 Jun 2011 12:29:02 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 12380 invoked by uid 22791); 8 Jun 2011 12:29:01 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Date: Wed, 08 Jun 2011 12:29:00 -0000 From: Gary Benson To: Jan Kratochvil Cc: archer@sourceware.org Subject: Re: gdb side of improved linker-debugger interface Message-ID: <20110608122835.GD2680@redhat.com> Mail-Followup-To: Jan Kratochvil , archer@sourceware.org References: <20110607094808.GB4143@redhat.com> <20110607171945.GA10769@host1.jankratochvil.net> <20110608110044.GC2680@redhat.com> <20110608114816.GA16394@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110608114816.GA16394@host1.jankratochvil.net> X-SW-Source: 2011-q2/txt/msg00022.txt.bz2 Jan Kratochvil wrote: > On Wed, 08 Jun 2011 13:00:44 +0200, Gary Benson wrote: > > > the testcase from: > > > https://bugzilla.redhat.com/show_bug.cgi?id=179072#c13 > [...] > > It actually doesn't fail on standard F14 gdb: > > Please do: > # prelink -u /lib64/libpthread-2.13.so > > $ gdb ./testload > GNU gdb (GDB) Fedora (7.2-51.fc14) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /home/jkratoch/t/rh179072-tests/testload...done. > (gdb) r > Starting program: /home/jkratoch/t/rh179072-tests/testload > [Thread debugging using libthread_db enabled] > Cannot find new threads: generic error > (gdb) _ Ah, after unprelinking I get that failure with F14 gdb. But, it works nicely with the new stuff: $ ../build/gdb/gdb -args ../../glibc/install/lib/ld-2.13.90.so ./testload GNU gdb (GDB) 7.3.50.20110510-cvs Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/gary/work/glibc/install/lib/ld-2.13.90.so...done. (gdb) r Starting program: /home/gary/work/glibc/install/lib/ld-2.13.90.so ./testload [Thread debugging using libthread_db enabled] [New Thread 0x7ffff762a700 (LWP 6969)] [Thread 0x7ffff762a700 (LWP 6969) exited] [Inferior 1 (process 6966) exited normally] (gdb) _ I'm glad I have this reproduced now, it's IMO a much more compelling argument for the fix than the somewhat arbitrary testcase the bug was originally filed with. Thanks! Cheers, Gary -- http://gbenson.net/