This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: no stack trace with 2.6.11 and gdb 6.3
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