public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb-patches@sourceware.org
Subject: [PATCHSET] [1/4] Fix various issue in TUI
Date: Wed, 31 Dec 2014 17:31:00 -0000	[thread overview]
Message-ID: <83zja3buah.fsf@gnu.org> (raw)

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"


             reply	other threads:[~2014-12-31 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-31 17:31 Eli Zaretskii [this message]
2015-01-05 19:20 ` Pedro Alves
2015-01-06 15:56   ` Eli Zaretskii
2015-01-16 11:26   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zja3buah.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).