This is the mail archive of the gdb-cvs@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]

[binutils-gdb] Leave more space in TUI mode for thread ID.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7

commit 9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri Jan 16 13:24:20 2015 +0200

    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.

Diff:
---
 gdb/ChangeLog      | 6 ++++++
 gdb/tui/tui-data.h | 4 ++--
 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"


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