From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17460 invoked by alias); 1 Aug 2006 20:17:42 -0000 Received: (qmail 17450 invoked by uid 22791); 1 Aug 2006 20:17:41 -0000 X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO bluesmobile.corp.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Aug 2006 20:17:36 +0000 Received: from [::1] (bluesmobile.corp.specifix.com [192.168.1.32]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id B4DF63B84D; Tue, 1 Aug 2006 13:15:01 -0700 (PDT) From: Fred Fish Reply-To: fnf@specifix.com To: gdb-patches@sourceware.org Subject: Re: RFC: Don't kill the program after "file" Date: Tue, 01 Aug 2006 20:17:00 -0000 User-Agent: KMail/1.9.3 Cc: fnf@specifix.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608011617.28914.fnf@specifix.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00014.txt.bz2 I'm currently getting new failures with a mips-elf toolchain, and other toolchains, when using the simulator for testing. I'm not entirely sure that they are due to this change, but it seems likely. Here is a snippet from the gdb.log file: (gdb) dir /src/latest/trunk/src/gdb/gdb/testsuite/gdb.base Source directories searched: /src/latest/trunk/src/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /links/build/latest/trunk/mips-elf/gdb/gdb/testsuite/gdb.base/opaque A program is being debugged already. Are you sure you want to change the file? (y or n) ERROR: couldn't load /links/build/latest/trunk/mips-elf/gdb/gdb/testsuite/gdb.base/opaque into /links/build/latest/trunk/mips-elf/gdb/gdb/testsuite/../../gdb/gdb (timed out). delete breakpoints Please answer y or n. A program is being debugged already. Are you sure you want to change the file? (y or n) ERROR: Delete all breakpoints in delete_breakpoints (timeout) break main Please answer y or n. A program is being debugged already. Are you sure you want to change the file? (y or n) UNRESOLVED: gdb.base/opaque.exp: setting breakpoint at main (timeout) ERROR: cannot run to breakpoint at main ERROR: Got interactive prompt. UNRESOLVED: gdb.base/opaque.exp: whatis on opaque struct pointer (dynamically) ERROR: Got interactive prompt. UNRESOLVED: gdb.base/opaque.exp: ptype on opaque struct pointer (dynamically) 1 ERROR: Got interactive prompt.