aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-record-btrace.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-06-20 15:18:23 -0600
committerTom Tromey <tom@tromey.com>2023-07-10 11:01:38 -0600
commitdd2532ad8af1676450114e4884ad748d528eafbe (patch)
treec89cb597e89bca2ddbb845251e1c36eaff94f017 /gdb/python/py-record-btrace.c
parent424646edf42425390c0174f344a2acbd33b68fc9 (diff)
downloadbinutils-dd2532ad8af1676450114e4884ad748d528eafbe.zip
binutils-dd2532ad8af1676450114e4884ad748d528eafbe.tar.gz
binutils-dd2532ad8af1676450114e4884ad748d528eafbe.tar.bz2
Avoid crash with absolute symbol
A user supplied an executable and a remote logfile that could be used to crash gdb. The problem is that the BFD section for a particular symbol was null, because the section was not marked "allocated". Digging deeper, the problem was that elfread.c dropped the section for absolute symbols. This patch fixes the crash. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30431
Diffstat (limited to 'gdb/python/py-record-btrace.c')
0 files changed, 0 insertions, 0 deletions