diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-16 18:30:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-16 18:30:43 +0000 |
commit | ddd60447d562534f4bfe3f9bd89b9943204861c7 (patch) | |
tree | e9036169bc2e4e3c5b349de3ac43fe267251b3d9 /ld/emultempl/sunos.em | |
parent | b0d32fb61e974e283300e836c34cfaa94ab1c03d (diff) | |
download | gdb-ddd60447d562534f4bfe3f9bd89b9943204861c7.zip gdb-ddd60447d562534f4bfe3f9bd89b9943204861c7.tar.gz gdb-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 'ld/emultempl/sunos.em')
0 files changed, 0 insertions, 0 deletions