diff options
author | Doug Evans <xdje42@gmail.com> | 2015-01-31 21:14:17 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-01-31 21:14:17 -0800 |
commit | 5f4ce105edc3ebbd4b0425d41ccac0064e3cec41 (patch) | |
tree | 532a355ec8d51ef970e725bd16bce3d28c704aef /gdb/stabsread.c | |
parent | f6b3afbf2fce69c31bd738e0543c55fbd848e74a (diff) | |
download | binutils-gdb-5f4ce105edc3ebbd4b0425d41ccac0064e3cec41.tar.gz |
Be more strict about what kinds of types can be passed.
gdb/ChangeLog:
* gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
or unions. Return zero if union.
(gnuv3_get_vtable): Call check_typedef. Assert only passed structs.
(gnuv3_rtti_type): Pass already-check_typedef'd value to
gnuv3_get_vtable.
(compute_vtable_size): Assert only passed structs.
(gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
Diffstat (limited to 'gdb/stabsread.c')
0 files changed, 0 insertions, 0 deletions