diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-23 16:17:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-23 16:19:07 +0000 |
commit | 0636b24556961d705b945f2465432df80e9ebf68 (patch) | |
tree | 7db042540daf047bd91e7d7d957e2bd949447eaf /binutils/ChangeLog | |
parent | fdde2fb60cc2d0c60d9d3f085a7b6c648376991e (diff) | |
download | gdb-0636b24556961d705b945f2465432df80e9ebf68.zip gdb-0636b24556961d705b945f2465432df80e9ebf68.tar.gz gdb-0636b24556961d705b945f2465432df80e9ebf68.tar.bz2 |
Avoid trigger an assertion failure in the STABS parser by replacing the abort with an error return.
PR 25714
* wrstabs.c (stab_pop_type): Replace assertion with error return.
* write_stabs_in_sections_debugging_info: Likewise.
* stab_enum_type: Likewise.
* stab_modify_type: Likewise.
* stab_struct_field: Likewise.
* stab_end_struct_type: Likewise.
* stab_start_class_type: Likewise.
* stab_class_static_member: Likewise.
* stab_class_baseclass: Likewise.
* stab_class_start_method: Likewise.
* stab_class_method_var: Likewise.
* stab_class_end_method: Likewise.
* stab_end_class_type: Likewise.
* stab_typedef_type: Likewise.
* stab_start_function: Likewise.
* stab_end_block: Likewise.
* stab_lineno: Likewise.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index de41d8d..bad19ea 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,24 @@ +2020-03-23 Nick Clifton <nickc@redhat.com> + + PR 25714 + * wrstabs.c (stab_pop_type): Replace assertion with error return. + * write_stabs_in_sections_debugging_info: Likewise. + * stab_enum_type: Likewise. + * stab_modify_type: Likewise. + * stab_struct_field: Likewise. + * stab_end_struct_type: Likewise. + * stab_start_class_type: Likewise. + * stab_class_static_member: Likewise. + * stab_class_baseclass: Likewise. + * stab_class_start_method: Likewise. + * stab_class_method_var: Likewise. + * stab_class_end_method: Likewise. + * stab_end_class_type: Likewise. + * stab_typedef_type: Likewise. + * stab_start_function: Likewise. + * stab_end_block: Likewise. + * stab_lineno: Likewise. + 2020-03-20 Nick Clifton <nickc@redhat.com> * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. |