This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Bug fixes for CLI "show" command


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]