RFA: V850 sim: various fixes.

Mike Frysinger vapier@gentoo.org
Mon Sep 10 15:27:00 GMT 2012


On Mon, Sep 10, 2012 at 3:15 AM, Nick Clifton wrote:
>   The patch below fixes a variety of small bugs in the V850 simulator's
>   igen file.  It also adds a snippet of code to catch attempts to
>   execute code via a NULL pointer.

usually the simulator represents the hardware.  so if the hardware has
memory at address 0 and someone were to load up an image with code
there, there's nothing invalid when it comes to jumping there.

what i do on the Blackfin side when it comes to testing is to have the
ELF manually pad the start with insns that'll trigger an exception
(just like it would on the hw).  then i set the entry point beyond
that.
-mike



More information about the Gdb-patches mailing list