From adb483feb8b53555613d1165a6c6de4bdc1a5160 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 14 Jan 2009 20:40:09 +0000 Subject: * NEWS: Document "define" for prefixed commands. * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call show_user_1 for prefix commands. * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined". * cli/cli-script.c (validate_comname): Rewrite to handle prefix commands. Return the containing command list. (define_command, document_command): Update to handle prefix commands. (show_user_1): Add prefix and name arguments. Handle prefix commands. * cli/cli-script.h (show_user_1): Update prototype. doc/ * gdb.texinfo (Define, Hooks): Document prefix command support. testsuite/ * gdb.base/define.exp: Test defining and hooking prefix commands. * gdb.python/python.exp: Update test for "show user" output. --- gdb/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0566235..04022f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2009-01-14 Daniel Jacobowitz + + * NEWS: Document "define" for prefixed commands. + * cli/cli-cmds.c (show_user): Update calls to show_user_1. Call + show_user_1 for prefix commands. + * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined". + * cli/cli-script.c (validate_comname): Rewrite to handle prefix + commands. Return the containing command list. + (define_command, document_command): Update to handle prefix commands. + (show_user_1): Add prefix and name arguments. Handle prefix + commands. + * cli/cli-script.h (show_user_1): Update prototype. + 2009-01-14 Kai Tietz * mingw-ser.c (console_select_thread): Add return to make -- cgit v1.1