From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28346 invoked by alias); 7 Nov 2007 22:06:25 -0000 Received: (qmail 28333 invoked by uid 22791); 7 Nov 2007 22:06:24 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Nov 2007 22:06:21 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-247-76.inter.net.il [83.130.247.76]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IGK33100 (AUTH halo1); Thu, 8 Nov 2007 00:03:41 +0200 (IST) Date: Wed, 07 Nov 2007 22:06:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: gdb-patches@sourceware.org In-reply-to: <20071107211833.GA28200@caradoc.them.org> (message from Daniel Jacobowitz on Wed, 7 Nov 2007 16:18:33 -0500) Subject: Re: [rfc] Stop unlikely "run"'s earlier Reply-to: Eli Zaretskii References: <20071107211833.GA28200@caradoc.them.org> 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: 2007-11/txt/msg00143.txt.bz2 > Date: Wed, 7 Nov 2007 16:18:33 -0500 > From: Daniel Jacobowitz > > I don't think this behavior is useful. "run" should select a native > target when the current target is an executable or core file, but > not when it's connected to some other target. This patch changes > the behavior to: > > (gdb) run > The "remote" target can not run programs. Try "help target" or "continue". > > Any comments? Shall I commit this? I'm okay with the change, but how do you feel about updating the docs as well? Should we?