OpenCores
no use no use 1/1 no use no use
gdb - or1ksim: exception handling?
by Unknown on Jan 23, 2004
Not available!
When or1ksim is run interactively and an exception occurs, or1ksim steps
into the exception code (to, like, 0x200 for a Bus Error). If I control
or1ksim through gdb, the exception is reported by or1ksim, but it is not
visible in gdb. Why? Is it possible, and how?

Heiko
gdb - or1ksim: exception handling?
by Unknown on Jan 27, 2004
Not available!

When or1ksim is run interactively and an exception occurs, or1ksim steps
into the exception code (to, like, 0x200 for a Bus Error). If I control
or1ksim through gdb, the exception is reported by or1ksim, but it is not
visible in gdb. Why? Is it possible, and how?


I have an answer to that one: It is neccessary to set the DSR register,
like this:

(gdb) spr dsr 0x3ff


Heiko

no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.