This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 89a1c21a1db9c2b7add8958531ccc3ff692a49eb
- From: simark at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Aug 2014 15:37:25 -0000
- Subject: gdb and binutils branch master updated. 89a1c21a1db9c2b7add8958531ccc3ff692a49eb
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 89a1c21a1db9c2b7add8958531ccc3ff692a49eb (commit)
from f7f2534e71f51f11f9f00f6365d5d8f37e6df054 (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=89a1c21a1db9c2b7add8958531ccc3ff692a49eb
commit 89a1c21a1db9c2b7add8958531ccc3ff692a49eb
Author: Simon Marchi <simon dot marchi at ericsson dot com>
Date: Fri Aug 15 16:34:34 2014 -0400
Convert target_structs vector to VEC
I thought that this home made implementation of a vector could be
replaced by the more standard VEC. The implementation seems to predate
the introduction of vec.h, so that would explain why it exists.
Ran make check before and after, no new failures.
gdb/ChangeLog:
2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
* target.c (target_struct_size): Remove.
(target_struct_allocsize): Remove.
(DEFAULT_ALLOCSIZE): Remove.
(target_ops_p): New typedef.
(DEF_VEC_P (target_ops_p)): New vector type.
(target_structs): Change type to VEC (target_ops_p).
(add_target_with_completer): Replace "push" code by VEC_safe_push.
(find_default_run_target): Rewrite for loop following changes to
target_structs.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 12 ++++++++++++
gdb/target.c | 36 ++++++++++--------------------------
2 files changed, 22 insertions(+), 26 deletions(-)
hooks/post-receive
--
gdb and binutils