From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02371385C019; Sat, 21 Mar 2020 14:22:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02371385C019 From: "philippe.waroquiers at skynet dot be" To: gdb-prs@sourceware.org Subject: [Bug gdb/25475] FAIL: gdb.server/solib-list.exp: non-stop 0/1: target remote (got interactive prompt) Date: Sat, 21 Mar 2020 14:22:32 +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: philippe.waroquiers at skynet dot be X-Bugzilla-Status: NEW 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: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2020 14:22:33 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25475 --- Comment #16 from philippe.waroquiers at skynet dot be --- I evaluated the change to ask the question independently of the fact that the current loaded file has symbols, i.e. removing the following part of the condition : (have_full_symbols () || have_partial_symbols ()) to ask the "Load new symbol table" question. This seems to be a significant change in behaviour that triggers about 1200 new failures in the gdb testsuite. The ratio (cost+risk)/benefit looks poor for this change. Another possible way to fix this is to replace the value "ask" by "load" (and explain in the doc that typically, a question is asked before loading the new file): (gdb) h set exec-file-mismatch=20 Set exec-file-mismatch handling (load|warn|off). Specifies how to handle a mismatch between the current exec-file name loaded by GDB and the exec-file name automatically determined when attach= ing to a process: load - warn the user and load the determined exec-file. warn - warn the user, but do not change the exec-file. off - do not check for mismatch. (gdb)=20 WDYT ? --=20 You are receiving this mail because: You are on the CC list for the bug.=