aboutsummaryrefslogtreecommitdiff
path: root/binutils/resrc.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-12 13:15:01 -0600
committerTom Tromey <tromey@adacore.com>2022-08-31 11:03:40 -0600
commit058dc2c95935d54caa8891613a1080d57665fc43 (patch)
treeb32d1a2bb50f93731aee58c0137b3daea4b5bc6b /binutils/resrc.c
parent1e28eebbbc34ebec69ea4913f7e8d19352e35630 (diff)
downloadgdb-058dc2c95935d54caa8891613a1080d57665fc43.zip
gdb-058dc2c95935d54caa8891613a1080d57665fc43.tar.gz
gdb-058dc2c95935d54caa8891613a1080d57665fc43.tar.bz2
Fix interpreter-exec crash
PR mi/10347 points out that using interpreter-exec inside of a "define" command will crash gdb. The bug here is that gdb_setup_readline doesn't check for the case where instream==nullptr. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=10347
Diffstat (limited to 'binutils/resrc.c')
0 files changed, 0 insertions, 0 deletions