Redundancy in remote.c packet config messages?

Daniel Jacobowitz drow@false.org
Wed Apr 6 21:28:00 GMT 2005


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



More information about the Gdb mailing list