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] Fix inaccuracies in "info skip" help


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

commit 261f6f7962e3fab7cad813a8821f00cd0173f88f
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Mon Nov 19 17:27:13 2018 -0500

    Fix inaccuracies in "info skip" help
    
    "help info skip" uses "skip info" in its examples, which is not the same
    (it ends up creating new skips).  Also, the Type column that is referred
    to doesn't exist today.
    
    gdb/ChangeLog:
    
    	* skip.c (_initialize_step_skip): Fix "info skip" help.

Diff:
---
 gdb/ChangeLog |  4 ++++
 gdb/skip.c    | 11 ++++-------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3939d23..8f5e64c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-11-19  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* skip.c (_initialize_step_skip): Fix "info skip" help.
+
 2018-11-16  Tom Tromey  <tom@tromey.com>
 
 	PR rust/23625:
diff --git a/gdb/skip.c b/gdb/skip.c
index f2a1df7..77373e8 100644
--- a/gdb/skip.c
+++ b/gdb/skip.c
@@ -717,14 +717,11 @@ Usage: skip delete [NUMBER | RANGES]..."),
 	       &skiplist);
   set_cmd_completer (c, complete_skip_number);
 
-  c = add_info ("skip", info_skip_command, _("\
-Display the status of skips.  You can specify numbers (e.g. \"skip info 1 3\"), \
-ranges (e.g. \"skip info 4-8\"), or both (e.g. \"skip info 1 3 4-8\").\n\n\
+  add_info ("skip", info_skip_command, _("\
+Display the status of skips.  You can specify numbers (e.g. \"info skip 1 3\"), \
+ranges (e.g. \"info skip 4-8\"), or both (e.g. \"info skip 1 3 4-8\").\n\n\
 If you don't specify any numbers or ranges, we'll show all skips.\n\n\
-Usage: skip info [NUMBER | RANGES]...\n\
-The \"Type\" column indicates one of:\n\
-\tfile        - ignored file\n\
-\tfunction    - ignored function"));
+Usage: info skip [NUMBER | RANGES]..."));
   set_cmd_completer (c, complete_skip_number);
 
   add_setshow_boolean_cmd ("skip", class_maintenance,


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