[PATCHSET] [1/4] Fix various issue in TUI

Eli Zaretskii eliz@gnu.org
Wed Dec 31 17:31:00 GMT 2014


This patch leaves more place on the status line for the process/thread
ID info, so that the probability of chopping it is significantly lower.

OK to commit?

2014-12-31  Eli Zaretskii  <eliz@gnu.org>

	* tui/tui-data.h (LINE_PREFIX): Make shorter.
	(MAX_PID_WIDTH): Leave 5 more characters.


--- gdb/tui/tui-data.h~0	2014-06-11 18:34:41 +0300
+++ gdb/tui/tui-data.h	2014-12-31 09:55:03 +0200
@@ -75,7 +75,7 @@
 
 /* Strings to display in the TUI status line.  */
 #define PROC_PREFIX             "In: "
-#define LINE_PREFIX             "Line: "
+#define LINE_PREFIX             "L"
 #define PC_PREFIX               "PC: "
 #define SINGLE_KEY              "(SingleKey)"
 
@@ -85,7 +85,7 @@
 				   numbers.  */
 #define MIN_PROC_WIDTH    12
 #define MAX_TARGET_WIDTH  10
-#define MAX_PID_WIDTH     14
+#define MAX_PID_WIDTH     19
 
 #define TUI_FLOAT_REGS_NAME                  "$FREGS"
 #define TUI_FLOAT_REGS_NAME_LOWER            "$fregs"




More information about the Gdb-patches mailing list