[PATCH, gdbsim] Avoid silly crash when no binary is loaded
Luis Machado
lgustavo@codesourcery.com
Tue Jun 18 21:09:00 GMT 2013
Hi,
This patch prevents the long-standing crash scenario where we start
gdbsim and "run" without any binaries. Warnings are issued, but those
don't prevent the simulator from proceeding with garbage data.
Replacing those warnings with error calls seems to be the most
appropriate here.
Ok?
Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sim_crash.diff
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130618/3e2e37ab/attachment.bin>
More information about the Gdb-patches
mailing list