aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/gdb-hashtab.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-07-20 15:48:46 -0600
committerTom Tromey <tom@tromey.com>2023-07-21 14:03:23 -0600
commit4d051f3a4e2839225f7de0ea783e2fdca1c7717e (patch)
treefb789b6eacda3b87ba6bae190af22d5246fa9088 /gdbsupport/gdb-hashtab.h
parente8fc65713d6e050348d443f9be7b61e6f54c6371 (diff)
downloadgdb-4d051f3a4e2839225f7de0ea783e2fdca1c7717e.zip
gdb-4d051f3a4e2839225f7de0ea783e2fdca1c7717e.tar.gz
gdb-4d051f3a4e2839225f7de0ea783e2fdca1c7717e.tar.bz2
Fix crash with DW_FORM_implicit_const
Jakub pointed out that using DW_FORM_implicit_const with DW_AT_bit_size would cause gdb to crash. This happened because DW_FORM_implicit_const is not an "unsigned" form, causing as_unsigned to assert. This patch fixes the problem. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30651 Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdbsupport/gdb-hashtab.h')
0 files changed, 0 insertions, 0 deletions