This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog NEWS command.h defs.h utils. ...
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 9 Oct 2011 22:21:44 -0000
- Subject: src/gdb ChangeLog NEWS command.h defs.h utils. ...
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2011-10-09 22:21:43
Modified files:
gdb : ChangeLog NEWS command.h defs.h utils.c
gdb/cli : cli-cmds.c cli-decode.c
gdb/doc : ChangeLog gdb.texinfo
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.base: alias.exp
Log message:
Add new "alias" command.
* NEWS: Mention new command.
* command.h (valid_user_defined_cmd_name_p): Declare.
* defs.h (make_cleanup_dyn_string_delete): Declare.
* utils.c: #include "dyn-string.h".
(do_dyn_string_delete, make_cleanup_dyn_string_delete): New functions.
* cli/cli-cmds.c: #include "dyn-string.h".
(argv_to_dyn_string, valid_command_p, alias_command): New functions.
(init_cli_cmds): Add new command.
* cli/cli-decode.c (valid_user_defined_cmd_name_p): New function.
doc/
* gdb.texinfo (Extending GDB): Document alias command.
testsuite/
* gdb.base/alias.exp: Add tests for alias command.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13405&r2=1.13406
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.456&r2=1.457
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&r1=1.302&r2=1.303
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.262&r2=1.263
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-cmds.c.diff?cvsroot=src&r1=1.115&r2=1.116
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.c.diff?cvsroot=src&r1=1.97&r2=1.98
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1226&r2=1.1227
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.875&r2=1.876
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2888&r2=1.2889
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/alias.exp.diff?cvsroot=src&r1=NONE&r2=1.1