aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-03-23 16:17:51 +0000
committerNick Clifton <nickc@redhat.com>2020-03-23 16:19:07 +0000
commit0636b24556961d705b945f2465432df80e9ebf68 (patch)
tree7db042540daf047bd91e7d7d957e2bd949447eaf /binutils/ChangeLog
parentfdde2fb60cc2d0c60d9d3f085a7b6c648376991e (diff)
downloadgdb-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/ChangeLog21
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.