[rfc] Bug fixes for CLI "show" command
Daniel Jacobowitz
drow@false.org
Mon May 10 18:17:00 GMT 2004
On Mon, Apr 19, 2004 at 04:00:05PM -0400, Daniel Jacobowitz wrote:
> There are two problems with the current "show" command. One is that
> prefixes get doubled. Type "show" at a GDB prompt:
>
> trust-readonly-sections: Mode for reading from readonly sections is off.
> tui tui active-border-mode: The attribute mode to use for the active TUI window border is
> "bold-standout".
> tui border-kind: The kind of border for TUI windows is "acs".
> tui border-mode: The attribute mode to use for the TUI window borders is "normal".
>
> See the doubled "tui" in the second line?
>
> The other problem is that it assumes the first five characters of the prefix
> are "show ". I wanted to add a submenu to "maintenance show", so I needed
> to use strstr here.
I've checked this in.
--
Daniel Jacobowitz
More information about the Gdb-patches
mailing list