This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17626] attach, detach, attach did not work
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 19 Nov 2014 16:36:04 +0000
- Subject: [Bug gdb/17626] attach, detach, attach did not work
- Auto-submitted: auto-generated
- References: <bug-17626-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17626
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
> Now I detach immediately and try to attach to the child:
In this case, the inferior still has the parent's executable loaded:
...
> Attaching to program: ...bin/firefox, process 8189
^^^^^^^
while in this case, you don't have an executable loaded, and so GDB
fetches the right one:
> However, if I quit gdb and attach to the child, it works.
...
> Reading symbols from ...bin/plugin-container...done.
^^^^^^^^^^^^^^^^
--
You are receiving this mail because:
You are on the CC list for the bug.