aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-16 18:30:43 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-16 18:30:43 +0000
commitddd60447d562534f4bfe3f9bd89b9943204861c7 (patch)
treee9036169bc2e4e3c5b349de3ac43fe267251b3d9 /gold
parentb0d32fb61e974e283300e836c34cfaa94ab1c03d (diff)
downloadbinutils-ddd60447d562534f4bfe3f9bd89b9943204861c7.zip
binutils-ddd60447d562534f4bfe3f9bd89b9943204861c7.tar.gz
binutils-ddd60447d562534f4bfe3f9bd89b9943204861c7.tar.bz2
gdb: sim: check return value of sim_create_inferior
The current gdbsim_create_inferior func doesn't check the return value of sim_create_inferior which can be problematic when that func doesn't return success. So, if it fails, call error() and be done. Reported-by: Richard Stuckey <richard.stuckey@arc.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions