This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 9ea4267d62830b0b41e3282964d6cb0872355f6b
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Jan 2014 16:19:53 -0000
- Subject: gdb and binutils branch master updated. 9ea4267d62830b0b41e3282964d6cb0872355f6b
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 9ea4267d62830b0b41e3282964d6cb0872355f6b (commit)
via 1f2bdf09c6ace2eefc3dd4dfc7366dea9ff5b30e (commit)
from cec2c50d38391e11f7116643450156560e5a1b91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9ea4267d62830b0b41e3282964d6cb0872355f6b
commit 9ea4267d62830b0b41e3282964d6cb0872355f6b
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Dec 26 22:06:27 2013 -0700
better packing for command struct
This moves all the bitfields in struct cmd_list_element to be closer
together. This packs the structure somewhat better. On a 64 bit
machine, this simple rearrangement saves around 50k at startup.
2014-01-20 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.h (struct cmd_list_element): Move all bitfields
together.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1f2bdf09c6ace2eefc3dd4dfc7366dea9ff5b30e
commit 1f2bdf09c6ace2eefc3dd4dfc7366dea9ff5b30e
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Dec 26 22:04:40 2013 -0700
convert flags to bitfields
This changes various flags struct cmd_list_element into bitfields. In
general I think bitfields are cleaner than flag words, at least in a
case like this where there is no need to pass the flags around
independently of the enclosing struct.
2014-01-20 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
(add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
(deprecated_cmd_warning, complete_on_cmdlist): Update.
* cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
(MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
(struct cmd_list_element) <flags>: Remove.
<cmd_deprecated, deprecated_warn_user, malloced_replacement,
doc_allocated>: New fields.
<hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
bitfields.
* maint.c (maintenance_do_deprecate): Update.
* top.c (execute_command): Update.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 20 ++++++++++
gdb/cli/cli-decode.c | 36 ++++++++++--------
gdb/cli/cli-decode.h | 103 +++++++++++++++++++++++--------------------------
gdb/maint.c | 28 ++++++++++----
gdb/top.c | 2 +-
5 files changed, 109 insertions(+), 80 deletions(-)
hooks/post-receive
--
gdb and binutils