This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog command.h cli/cli-decode.c c ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Dec 2008 01:05:16 -0000
- Subject: src/gdb ChangeLog command.h cli/cli-decode.c c ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2008-12-10 01:05:16
Modified files:
gdb : ChangeLog command.h
gdb/cli : cli-decode.c cli-decode.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: commands.exp
Log message:
gdb
PR gdb/1815:
* cli/cli-decode.c (delete_cmd): Forward declare.
(delete_cmd): Now static. Change return type. Remove command
from alias chain. Rewrite.
(add_cmd): Initialize new fields. Update cmd_pointer on all
aliases.
(add_alias_cmd): Put command on alias chain.
* command.h (delete_cmd): Don't declare.
* cli/cli-decode.h (delete_cmd): Don't declare.
(struct cmd_list_element) <aliases, alias_chain>: New fields.
gdb/testsuite
* gdb.base/commands.exp (redefine_backtrace_test): New proc.
Call it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10025&r2=1.10026
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.c.diff?cvsroot=src&r1=1.71&r2=1.72
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.h.diff?cvsroot=src&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1769&r2=1.1770
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/commands.exp.diff?cvsroot=src&r1=1.24&r2=1.25