This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/17626] attach, detach, attach did not work


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.


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