From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12992 invoked by alias); 15 Nov 2009 22:53:46 -0000 Received: (qmail 12982 invoked by uid 22791); 15 Nov 2009 22:53:45 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 15 Nov 2009 22:52:42 +0000 Received: (qmail 7792 invoked from network); 15 Nov 2009 22:52:40 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Nov 2009 22:52:40 -0000 From: Pedro Alves To: Paul Pluzhnikov Subject: Re: [commit] multi-executable support Date: Sun, 15 Nov 2009 22:53:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb-patches@sourceware.org References: <200910191106.28905.pedro@codesourcery.com> <8ac60eac0911121709r3220d941y9bca3138b76c9a13@mail.gmail.com> In-Reply-To: <8ac60eac0911121709r3220d941y9bca3138b76c9a13@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911152252.39199.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00347.txt.bz2 On Friday 13 November 2009 01:09:34, Paul Pluzhnikov wrote: > On Mon, Oct 19, 2009 at 2:06 AM, Pedro Alves wro= te: >=20 > > 2009-10-19 =A0Pedro Alves =A0 > > =A0 =A0 =A0 =A0 =A0 =A0Stan Shebs =A0 > > > > =A0 =A0 =A0 =A0Add base multi-executable/process support to GDB. >=20 > This appears to be triggering an assert for me: (...) > The crash is here: (...) > The 'sal' in frame 5 looks bogus: >=20 > (gdb) p sal > $1 =3D {pspace =3D 0x0, symtab =3D 0x0, section =3D 0x0, line =3D 0, pc = =3D 0, end > =3D 0, explicit_pc =3D 0, explicit_line =3D 0} Indeed. > The official 7.0 release does something unreasonable as well: >=20 > Reading symbols from /usr/local/google/tmp/b1844402/a.out...done. > (gdb) b Foo::Foo > Breakpoint 1 at 0x0 > Note: breakpoint 1 also set at pc 0x0. > Breakpoint 2 at 0x0 > warning: Multiple breakpoints were set. > Use the "delete" command to delete unwanted breakpoints. > (gdb) >=20 This is what we need to fix. Did you happen to take a look at why this happens? Could you open a PR, if there isn't one already, please? --=20 Pedro Alves