This is the mail archive of the gdb-patches@sourceware.org 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]

[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.


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