This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] [OBVIOUS] enable frame-filter short help uses disable instead of enable
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: gdb-patches at sourceware dot org
- Cc: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Date: Tue, 18 Sep 2018 00:23:34 +0200
- Subject: [PATCH] [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
---
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 3afe5e9ac1..16a40ed98e 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]
--
2.18.0