This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Bug fixes for CLI "show" command
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 10 May 2004 14:17:49 -0400
- Subject: Re: [rfc] Bug fixes for CLI "show" command
- References: <20040419200005.GA16011@nevyn.them.org>
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