From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13539 invoked by alias); 18 Mar 2015 14:58:25 -0000 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 Received: (qmail 13530 invoked by uid 89); 18 Mar 2015 14:58:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 18 Mar 2015 14:58:17 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2IEwBLi007442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Mar 2015 10:58:13 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t2IEw8ia001667; Wed, 18 Mar 2015 10:58:09 -0400 Message-ID: <55099280.1050606@redhat.com> Date: Wed, 18 Mar 2015 14:58:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jan Kratochvil , Yao Qi CC: gdb-patches@sourceware.org, Joel Brobecker Subject: Remove --xdb? (Re: [testsuite patch] Remove gdb.hp [Re: [patch] Remove HPUX]) References: <20141016220028.GA25839@host2.jankratochvil.net> <87oas1fdej.fsf@codesourcery.com> <20150313191618.GA12286@host1.jankratochvil.net> In-Reply-To: <20150313191618.GA12286@host1.jankratochvil.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-03/txt/msg00545.txt.bz2 On 03/13/2015 07:16 PM, Jan Kratochvil wrote: > On Fri, 21 Nov 2014 04:20:04 +0100, Yao Qi wrote: >> Jan Kratochvil writes: >> >>> I did not investigate too much which other parts of GDB could be removed >>> along, there may be some dead code now (but it always has been). >> >> Directory testsuite/gdb.hp should be removed, > > Attached, OK for check-in? > I read through all this, and the only things that looked like could be salvageable and mildly interesting would be the "gdb --xdb" tests (in gdb.compat/). But, the only reference to xdb found in the manual is commented out: @c @item -xdb @c @cindex @code{--xdb} @c Run in XDB compatibility mode, allowing the use of certain XDB commands. @c For information, see the file @file{xdb_trans.html}, which is usually @c installed in the directory @code{/opt/langtools/wdb/doc} on HP-UX @c systems. The commands that enables aren't even documented in the manual. Judging from that, I assume that only wdb users would ever really be using the --xdb switch. I think it's time to drop "support" for the --xdb switch too. I looked through the commands that that exposes, the only that looked potentially interesting was "go", but then it's just an alias for "tbreak+jump", which can easily be done with "define go...end". I'd rather free up the "go" name for something potentially more interesting (either run control, or maybe even unrelated, e.g., for golang). So the patch looks good to go to me. >> as well as some target triplet checking on hpux in testsuite/lib/gdb.exp. > > To be done later, I have spent some time on it but it seems unclear to me what > should / should not be deleted, GDB seems to assume in many cases hppa==hpux > which is not always the case. Thanks, Pedro Alves