From 9f2850baa3ce341f0ba42bd9519cb3c1bf1287c7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Jan 2015 13:24:20 +0200 Subject: [PATCH] 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. --- 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 85c4a6d71d3..e59c9d5c085 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-01-16 Eli Zaretskii + + * 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 Fix gcc-5 compilation. diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 81385b39751..8bfb4b312d6 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" -- 2.30.2