* NEWS: Document "define" for prefixed commands.
authorDaniel Jacobowitz <drow@false.org>
Wed, 14 Jan 2009 20:40:09 +0000 (20:40 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 14 Jan 2009 20:40:09 +0000 (20:40 +0000)
commitadb483feb8b53555613d1165a6c6de4bdc1a5160
treee2c58af8524daf15debeb52548bfb3215718f54c
parenta32d7317c7ae58c986b499ad11028dbf49a15da1
* 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
gdb/NEWS
gdb/cli/cli-cmds.c
gdb/cli/cli-decode.c
gdb/cli/cli-script.c
gdb/cli/cli-script.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/define.exp
gdb/testsuite/gdb.python/python.exp