This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Capitalize "<TAB>" in require_record_target error
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 8 Nov 2018 23:21:01 -0000
- Subject: [binutils-gdb] Capitalize "<TAB>" in require_record_target error
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c710e1157caf7a2c3e4c816c72f88360f3e859c
commit 9c710e1157caf7a2c3e4c816c72f88360f3e859c
Author: Tom Tromey <tom@tromey.com>
Date: Tue Nov 6 20:12:36 2018 -0700
Capitalize "<TAB>" in require_record_target error
This changes require_record_target to say "<TAB>" rather than "<tab>".
I think capitalizing here is a bit more GNU-ish, based on Emacs usage
and one other case in gdb.
gdb/ChangeLog
2018-11-08 Tom Tromey <tom@tromey.com>
* record.c (require_record_target): Upper-case "<TAB>".
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/record.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8bb9685..4ba96ba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-11-08 Tom Tromey <tom@tromey.com>
+ * record.c (require_record_target): Upper-case "<TAB>".
+
+2018-11-08 Tom Tromey <tom@tromey.com>
+
* python/lib/gdb/command/pretty_printers.py
(InfoPrettyPrinter.invoke): Don't indent "objfile" heading.
diff --git a/gdb/record.c b/gdb/record.c
index 2fd7782..fdc76f8 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -75,7 +75,7 @@ require_record_target (void)
t = find_record_target ();
if (t == NULL)
error (_("No record target is currently active.\n"
- "Use one of the \"target record-<tab><tab>\" commands first."));
+ "Use one of the \"target record-<TAB><TAB>\" commands first."));
return t;
}