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: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 05 Jun 2015 13:36:11 +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
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Gary Benson from comment #4)
> Version 2 patch here:
>
> https://sourceware.org/ml/gdb-patches/2015-06/msg00080.html
I'm curious why it doesn't check the buildid.
It seems to me that if the current file has a buildid
and the attach target has a buildid, and they do not match,
then discarding the current file is the best thing to do.
My recollection is that gdb can't always do this because
(on systems without buildid) the user might have meant to do
this weird thing. But when buildid is available can it ever
be meaningful?
--
You are receiving this mail because:
You are on the CC list for the bug.