diff options
author | Simon Marchi <simon dot marchi at ericsson dot com> | 2014-08-15 16:34:34 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2014-08-19 11:36:31 -0400 |
commit | 89a1c21a1db9c2b7add8958531ccc3ff692a49eb (patch) | |
tree | 402162d448e62236a97c79d405223a373f98e8d1 /gdb/ChangeLog | |
parent | f7f2534e71f51f11f9f00f6365d5d8f37e6df054 (diff) | |
download | gdb-89a1c21a1db9c2b7add8958531ccc3ff692a49eb.zip gdb-89a1c21a1db9c2b7add8958531ccc3ff692a49eb.tar.gz gdb-89a1c21a1db9c2b7add8958531ccc3ff692a49eb.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 49e58a6..f35ba1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +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. + 2014-08-19 Joel Brobecker <brobecker@adacore.com> * value.c (value_from_pointer): Remove use of resolve_dynamic_type. |