From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15492 invoked by alias); 13 Jun 2005 20:30:58 -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 15415 invoked by uid 22791); 13 Jun 2005 20:30:52 -0000 Received: from rwcrmhc13.comcast.net (HELO rwcrmhc13.comcast.net) (204.127.198.39) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 13 Jun 2005 20:30:52 +0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc13) with ESMTP id <200506132030460150036b5fe>; Mon, 13 Jun 2005 20:30:50 +0000 Received: by lucon.org (Postfix, from userid 1000) id 978BA64607; Mon, 13 Jun 2005 13:30:46 -0700 (PDT) Date: Mon, 13 Jun 2005 20:30:00 -0000 From: "H. J. Lu" To: Rich Coe , gdb@sources.redhat.com Subject: Re: no stack trace with 2.6.11 and gdb 6.3 Message-ID: <20050613203046.GA15935@lucon.org> 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> <20050613201635.GA4684@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050613201635.GA4684@nevyn.them.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-06/txt/msg00120.txt.bz2 On Mon, Jun 13, 2005 at 04:16:35PM -0400, Daniel Jacobowitz wrote: > 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. > He was using gdb 6.3, not gdb head. See http://sources.redhat.com/ml/gdb/2005-06/msg00114.html H.J.