This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Redundancy in remote.c packet config messages?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 6 Apr 2005 17:28:25 -0400
- Subject: Re: Redundancy in remote.c packet config messages?
- References: <20050406142359.0c61c694@ironwood.lan>
On Wed, Apr 06, 2005 at 02:23:59PM -0700, Kevin Buettner wrote:
> Does anyone know of a case where the first line provides non-redundant
> information? If not, I'd like to prepare a patch which eliminates it.
> That is, I would like the above session to instead show the following
> output:
>
> (gdb) show remote p-packet
> Support for remote protocol `p' (fetch-register) packet is auto-detected,
> currently unknown.
>
> (gdb) set remote p-packet on
> (gdb) show remote p-packet
> Support for remote protocol `p' (fetch-register) packet is currently
> enabled.
> (gdb) set remote p-packet off
> (gdb) show remote p-packet
> Support for remote protocol `p' (fetch-register) packet is currently
> disabled.
I'm pretty sure it will never show useful information. Both lines do
seem to be printing config->detect...
--
Daniel Jacobowitz
CodeSourcery, LLC