This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] "maint set remote"
- From: Jim Blandy <jimb at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 27 Oct 2006 00:44:33 -0700
- Subject: Re: [rfc] "maint set remote"
- References: <20061026212639.GA21608@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> Per my discussion with Eli earlier today. This patch removes most of
> the documentation for the individual packet commands, moves them under
> "maint", and aggregates their documentation into a table there. The
> new bits of interest:
>
> +The @value{GDBN} remote protocol autodetects the packets supported by
> +your debugging stub. If you need to override the autodetection, you
> +can use these commands to enable or disable individual packets. Each
> +packet can be set to @samp{on} (the remote target supports this
> +packet), @samp{off} (the remote target does not support this packet),
> +or @samp{auto} (detect remote target support for this packet). They
> +all default to @samp{auto}. For more information about each packet,
> +see @ref{Remote Protocol}.
> +
> +During normal use, you should not have to use any of these commands.
> +If you do, that may be a bug in your remote debugging stub, or a bug
> +in @value{GDBN}. You may want to report the problem to the
> +@value{GDBN} developers.
> +
> +The available settings are:
>
> I also fixed "show remote" while I was here; it became apparent that it
> wasn't showing all of the settings once I cut down on the number.
>
> Comments? OK?
Looks good to me.
I had thought there were tests that mentioned those commands, but I
can't find them, so maybe I'm just misremembering.