From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25382 invoked by alias); 4 Dec 2011 02:55:22 -0000 Received: (qmail 25373 invoked by uid 22791); 4 Dec 2011 02:55:21 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Dec 2011 02:55:08 +0000 Received: by vbbfn1 with SMTP id fn1so626711vbb.0 for ; Sat, 03 Dec 2011 18:55:07 -0800 (PST) Received: by 10.52.20.35 with SMTP id k3mr2384487vde.34.1322967307669; Sat, 03 Dec 2011 18:55:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.20.35 with SMTP id k3mr2384479vde.34.1322967307589; Sat, 03 Dec 2011 18:55:07 -0800 (PST) Received: by 10.220.97.211 with HTTP; Sat, 3 Dec 2011 18:55:07 -0800 (PST) In-Reply-To: <20111204012935.GA4034@host2.jankratochvil.net> References: <201110271909.37066.pedro@codesourcery.com> <20111028174014.GB18885@host1.jankratochvil.net> <201110281917.44839.pedro@codesourcery.com> <20111029194745.GA12850@host1.jankratochvil.net> <20111203183613.GA15496@host2.jankratochvil.net> <20111204012935.GA4034@host2.jankratochvil.net> Date: Sun, 04 Dec 2011 02:55:00 -0000 Message-ID: Subject: Re: ping: Re: [patch] Forbid "run" etc. for use_gdb_stub targets From: Doug Evans To: Jan Kratochvil Cc: Pedro Alves , gdb-patches@sourceware.org, Kevin Pouget , Tom Tromey Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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: 2011-12/txt/msg00092.txt.bz2 On Sat, Dec 3, 2011 at 5:29 PM, Jan Kratochvil wrote: > On Sun, 04 Dec 2011 02:02:06 +0100, Doug Evans wrote: >> I'd like to get away from conflating anything related to gdb stubs and >> valgrind / gdbserver. > > Currently $use_gdb_stub means the startup has been already executed when the > testsuite gets into GDB control. > > IIUC in reality currently the real stubs are not in use but gdbserver in > non-extended mode behaves as native GDB with the stubs in the past. Not precisely. > Maybe $use_gdb_stub name is not fortunate for what it does, real stubs are > only subset of $use_gdb_stub cases. Poorly chosen names lead to confusion, bugs, and wasted time. [No claim is made that this is news. :-)] Plus, there's no reason why, for example, gdb_start_cmd can't work with target remote and gdbserver.