This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] print message when TUI not configured
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 09 May 2007 14:34:11 -0700
- Subject: [PATCH] print message when TUI not configured
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.