Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] print message when TUI not configured
@ 2007-05-09 21:34 Bob Wilson
  2007-05-09 21:36 ` Bob Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Wilson @ 2007-05-09 21:34 UTC (permalink / raw)
  To: gdb-patches

The TUI feature is not supported on platforms without a suitable version of the 
curses library, but this is not well documented.  In the doc patch I've been 
working on, I added a comment about that.  It seems like it would also be good 
to fail gracefully if someone tries to use the TUI when it is not configured. 
Here is a simple patch to print a message if someone uses the "-tui" option.  It 
doesn't do anything about TUI commands and key bindings, but I think those are 
less important.  OK?

2007-05-09  Bob Wilson  <bob.wilson@acm.org>
	
	* main.c (captured_main): Recognize -tui option and print an error
	message when the TUI is not configured.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-11 18:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09 21:34 [PATCH] print message when TUI not configured Bob Wilson
2007-05-09 21:36 ` Bob Wilson
2007-05-09 21:42   ` Daniel Jacobowitz
2007-05-11 17:59   ` Eli Zaretskii
2007-05-11 18:10     ` Bob Wilson
2007-05-11 18:29       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox