This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_hal_gdb_interrupt
- From: John Newlin <jnewlin at rawbw dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 May 2004 12:34:34 -0700 (PDT)
- Subject: [ECOS] cyg_hal_gdb_interrupt
In file:
packages/hal/common/current/src/hal_stub.c
There is this wonderful function: cyg_hal_gdb_interrupt
This function saves the current instruction, and installs a break
instruction. Generally this is safe, but on the Xtensa architecture
instructions can be on any address alignment, which will cause the load of
the old instruction and store of the new instruction to generate an
exception.
Is there a general way to override this function, or if I made a change to
do a memcpy instead of load/store would you accept that back into the
tree?
Thanks,
-john
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss