From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7671 invoked by alias); 13 Jun 2005 20:16:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7664 invoked by uid 22791); 13 Jun 2005 20:16:46 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 13 Jun 2005 20:16:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DhvMJ-0001EQ-IR; Mon, 13 Jun 2005 16:16:35 -0400 Date: Mon, 13 Jun 2005 20:16:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: Rich Coe , gdb@sources.redhat.com Subject: Re: no stack trace with 2.6.11 and gdb 6.3 Message-ID: <20050613201635.GA4684@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , Rich Coe , gdb@sources.redhat.com References: <20050610193720.GA24094@nevyn.them.org> <200506102115.QAA91634@morpheus> <20050611005113.GA29491@nevyn.them.org> <20050611022148.GA14914@lucon.org> <20050613101629.4f54fde1@godzilla> <20050613152646.GB11261@lucon.org> <20050613103412.16e73c25@godzilla> <20050613201350.GA15678@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050613201350.GA15678@lucon.org> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00119.txt.bz2 On Mon, Jun 13, 2005 at 01:13:50PM -0700, H. J. Lu wrote: > You also need this patch for gdb 6.3. > > > H.J. > --- gdb/inftarg.c.attach 2004-11-11 16:46:57.000000000 -0800 > +++ gdb/inftarg.c 2005-06-13 13:07:14.000000000 -0700 > @@ -211,6 +211,10 @@ child_attach (char *args, int from_tty) > > inferior_ptid = pid_to_ptid (pid); > push_target (&deprecated_child_ops); > + > + /* Do this first, before anything has had a chance to query the > + inferiors symbol table or similar. */ > + observer_notify_inferior_created (¤t_target, from_tty); > } > > #if !defined(CHILD_POST_ATTACH) > Which is already in GDB CVS, which Rich has already said did not work for him. -- Daniel Jacobowitz CodeSourcery, LLC