aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-07-03 09:38:40 +0930
committerAlan Modra <amodra@gmail.com>2021-07-05 20:04:21 +0930
commit40e1d303cedca7d67f6219686f06b9750659beab (patch)
tree416c08ac006b675ef6da56119163e7100e7a1ed0 /gdb/gdb_regex.c
parent74ace054855321bc5271dd7b354131cd0b71333a (diff)
downloadgdb-40e1d303cedca7d67f6219686f06b9750659beab.zip
gdb-40e1d303cedca7d67f6219686f06b9750659beab.tar.gz
gdb-40e1d303cedca7d67f6219686f06b9750659beab.tar.bz2
PR28047, readelf crash due to assertion failure
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_ref1, and DW_FORM_ref_udata are all supposed to be within the containing unit. PR 28047 * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter. Check DW_FORM_ref1 etc. arg against cu_end rather than end of section. Adjust all callers.
Diffstat (limited to 'gdb/gdb_regex.c')
0 files changed, 0 insertions, 0 deletions