aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-01-16 13:24:20 +0200
committerEli Zaretskii <eliz@gnu.org>2015-01-16 13:24:20 +0200
commit9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7 (patch)
treedb306894a90ef567211e2ee95db4e4fd2f89c6c9 /gdb
parent95761b2d9c3c77933cac233b93eff371b3e52859 (diff)
downloadgdb-9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7.zip
gdb-9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7.tar.gz
gdb-9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7.tar.bz2
Leave more space in TUI mode for thread ID.
gdb/tui/tui-data.h (LINE_PREFIX): Make shorter (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for "Thread NNNNN.XXXX" thread ID notation on Windows.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/tui/tui-data.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85c4a6d..e59c9d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-16 Eli Zaretskii <eliz@gnu.org>
+
+ * tui/tui-data.h (LINE_PREFIX): Make shorter
+ (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
+ "Thread NNNNN.XXXX" thread ID notation on Windows.
+
2015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix gcc-5 compilation.
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 81385b3..8bfb4b3 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -75,7 +75,7 @@ struct tui_gen_win_info
/* 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 @@ struct tui_gen_win_info
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"