aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-01-11 14:11:01 -0700
committerTom Tromey <tom@tromey.com>2025-01-29 10:21:49 -0700
commit652e09d5c6da96dd987509a44eeb3d02d57fc2f5 (patch)
tree94c637c47247ca54448bad361ffe18b2f997fba9 /gdb/testsuite/gdb.btrace
parentaf16bf565f83e1fd71d6acfed05d670993528a0d (diff)
downloadbinutils-652e09d5c6da96dd987509a44eeb3d02d57fc2f5.zip
binutils-652e09d5c6da96dd987509a44eeb3d02d57fc2f5.tar.gz
binutils-652e09d5c6da96dd987509a44eeb3d02d57fc2f5.tar.bz2
Use command style in "help" command
This changes the help command to use the new command style when displaying text like: List of "catch" subcommands: As a side effect, this mildly -- but not hugely -- cleans up some i18n issues in help_list. The header comment for that function is also changed to the gdb style. Finally, this function used to print something like: Type "help catch" followed by catch subcommand name for full documentation. The second "catch" here seems redundant to me, so this patch removes it.
Diffstat (limited to 'gdb/testsuite/gdb.btrace')
-rw-r--r--gdb/testsuite/gdb.btrace/cpu.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.btrace/cpu.exp b/gdb/testsuite/gdb.btrace/cpu.exp
index 8b830a5..26ffa09 100644
--- a/gdb/testsuite/gdb.btrace/cpu.exp
+++ b/gdb/testsuite/gdb.btrace/cpu.exp
@@ -42,9 +42,9 @@ proc test_junk { arg junk current } {
gdb_test "show record btrace cpu" "btrace cpu is 'auto'\." "default cpu"
gdb_test "set record" \
- "List of set record subcommands.*"
+ "List of \"set record\" subcommands.*"
gdb_test "set record btrace" \
- "List of set record btrace subcommands.*"
+ "List of \"set record btrace\" subcommands.*"
test_bad "" "auto"
test_good "intel: 0/0"