From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15682 invoked by alias); 23 Nov 2008 23:06:10 -0000 Received: (qmail 15663 invoked by uid 22791); 23 Nov 2008 23:06:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Nov 2008 23:05:30 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 54FB51059A; Sun, 23 Nov 2008 23:05:20 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 29C29104A1; Sun, 23 Nov 2008 23:05:20 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1L4O11-000249-Gw; Sun, 23 Nov 2008 18:05:19 -0500 Date: Mon, 24 Nov 2008 14:49:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org, dgraham@nortel.com Subject: Re: RFC: Do not try g-packet-guess algorithm on exited targets Message-ID: <20081123230519.GA7191@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org, dgraham@nortel.com References: <20081123211454.GA17391@caradoc.them.org> <200811232211.59013.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811232211.59013.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00628.txt.bz2 On Sun, Nov 23, 2008 at 10:11:58PM +0000, Pedro Alves wrote: > Is this new flag working around that fact that remote_open_1 does this? > > /* Assume that the target is running, unless we learn otherwise. */ > target_mark_running (target); Right. > Then would this in remote_read_description work instead of a > new flag? > > > + /* Do not try this during initial connection. */ > > + if (!target_has_execution || ptid_equal (inferior_ptid, null_ptid)) > > + return NULL; > > (or just null_ptid). It ought to. Let me give that a try. (The patch fixes 9 FAILs in gdb.server/\* on mips-linux, as expected.) -- Daniel Jacobowitz CodeSourcery