This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no stack trace with 2.6.11 and gdb 6.3


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 (&current_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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]