From: Pedro Alves <palves@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>,
Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org, Joel Brobecker <brobecker@adacore.com>
Subject: Remove --xdb? (Re: [testsuite patch] Remove gdb.hp [Re: [patch] Remove HPUX])
Date: Wed, 18 Mar 2015 14:58:00 -0000 [thread overview]
Message-ID: <55099280.1050606@redhat.com> (raw)
In-Reply-To: <20150313191618.GA12286@host1.jankratochvil.net>
On 03/13/2015 07:16 PM, Jan Kratochvil wrote:
> On Fri, 21 Nov 2014 04:20:04 +0100, Yao Qi wrote:
>> Jan Kratochvil <jan.kratochvil@redhat.com> 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
next prev parent reply other threads:[~2015-03-18 14:58 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-16 23:00 [patch] Remove HPUX Jan Kratochvil
2014-10-17 0:21 ` Michael Eager
2014-10-17 13:26 ` Joel Brobecker
2014-10-17 17:18 ` Michael Eager
2014-11-19 18:54 ` Jan Kratochvil
2014-11-19 19:39 ` Michael Eager
2014-11-21 9:32 ` Pedro Alves
2015-03-13 19:26 ` [commit] " Jan Kratochvil
2015-03-13 19:43 ` Pedro Alves
2015-03-13 19:46 ` Jan Kratochvil
2015-03-13 19:55 ` Pedro Alves
2015-03-13 19:57 ` Jan Kratochvil
2015-03-10 5:04 ` Sergio Durigan Junior
2015-03-10 14:23 ` Michael Eager
2014-11-21 3:20 ` Yao Qi
2015-03-13 19:17 ` [testsuite patch] Remove gdb.hp [Re: [patch] Remove HPUX] Jan Kratochvil
2015-03-18 14:58 ` Pedro Alves [this message]
2015-03-20 16:17 ` [commit] [testsuite patch] Remove gdb.hp Jan Kratochvil
2015-03-20 17:48 ` [patch] Re: Remove --xdb? (Re: [testsuite patch] Remove gdb.hp) Jan Kratochvil
2015-04-10 19:27 ` Pedro Alves
2015-04-11 17:06 ` [doc patch] Remove --xdb Jan Kratochvil
2015-04-11 17:40 ` Eli Zaretskii
2015-04-11 17:54 ` [commit] " Jan Kratochvil
2014-12-01 14:21 ` [patch] Remove HPUX Simon Marchi
2015-03-11 21:57 ` Jan Kratochvil
2015-03-12 17:05 ` Pedro Alves
2015-03-13 18:34 ` Jan Kratochvil
2015-03-13 19:40 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55099280.1050606@redhat.com \
--to=palves@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=yao@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox