diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-03-31 18:13:38 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-03-31 18:13:38 +0000 |
commit | 8072405bd6f570b75a030fbd81f25ac79260b066 (patch) | |
tree | e571e5fc3be62ede08bc679a272aa75fc2499113 /gprof | |
parent | 8bf6485c1cee41f31564e1097199ff67a3615ebe (diff) | |
download | gdb-8072405bd6f570b75a030fbd81f25ac79260b066.zip gdb-8072405bd6f570b75a030fbd81f25ac79260b066.tar.gz gdb-8072405bd6f570b75a030fbd81f25ac79260b066.tar.bz2 |
gdb/
Fix crash on reading wrong function declaration DWARF.
* dwarf2read.c (read_subroutine_type): New variable void_type.
Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization
more close to their use.
gdb/testsuite/
* gdb.dwarf2/dw2-bad-parameter-type.exp,
gdb.dwarf2/dw2-bad-parameter-type.S: New.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions