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] [OBVIOUS] enable frame-filter short help uses disable instead of enable


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

commit 62b1765c90ddce54c04a97caac86425d50f2cc56
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date:   Tue Sep 18 00:14:26 2018 +0200

    [OBVIOUS] enable frame-filter short help uses disable instead of enable
    
    Without the patch:
      (gdb) apropos able frame-filter
      disable frame-filter -- GDB command to disable the specified frame-filter
      enable frame-filter -- GDB command to disable the specified frame-filter
    
    With the patch:
      (gdb) apropos able frame-filter
      disable frame-filter -- GDB command to disable the specified frame-filter
      enable frame-filter -- GDB command to enable the specified frame-filter
    
    Pushed as obvious

Diff:
---
 gdb/python/lib/gdb/command/frame_filters.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/python/lib/gdb/command/frame_filters.py b/gdb/python/lib/gdb/command/frame_filters.py
index 3afe5e9..16a40ed 100644
--- a/gdb/python/lib/gdb/command/frame_filters.py
+++ b/gdb/python/lib/gdb/command/frame_filters.py
@@ -207,7 +207,7 @@ def _complete_frame_filter_name(word, printer_dict):
     return flist
 
 class EnableFrameFilter(gdb.Command):
-    """GDB command to disable the specified frame-filter.
+    """GDB command to enable the specified frame-filter.
 
     Usage: enable frame-filter enable DICTIONARY [NAME]


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