From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103361 invoked by alias); 5 Jun 2015 13:36:12 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 103237 invoked by uid 48); 5 Jun 2015 13:36:11 -0000 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/17626] attach, detach, attach did not work Date: Fri, 05 Jun 2015 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00389.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17626 --- Comment #5 from Tom Tromey --- (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.