This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Python maintenance command prefix
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sourceware dot org
- Date: Sat, 09 Aug 2008 21:17:10 +0200
- Subject: Python maintenance command prefix
For consistency the prefix shown for subcommands should use the
unabbreviated command names. Checked in as obvious.
Andreas.
2008-08-09 Andreas Schwab <schwab@suse.de>
* python/python.c (_initialize_python): Use unabbreviated commands
in prefix name.
--- python/python.c.~1.1.~ 2008-08-06 21:41:32.000000000 +0200
+++ python/python.c 2008-08-09 21:01:28.000000000 +0200
@@ -381,11 +381,11 @@ This command is only a placeholder.")
add_prefix_cmd ("python", no_class, show_python,
_("Prefix command for python maintenance settings."),
- &show_python_list, "maint show python ", 0,
+ &show_python_list, "maintenance show python ", 0,
&maintenance_show_cmdlist);
add_prefix_cmd ("python", no_class, set_python,
_("Prefix command for python maintenance settings."),
- &set_python_list, "maint set python ", 0,
+ &set_python_list, "maintenance set python ", 0,
&maintenance_set_cmdlist);
add_setshow_boolean_cmd ("print-stack", class_maintenance,
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."