On Wed, Sep 8, 2010 at 8:43 PM, Øyvind Harboe <[email protected]> wrote: > On Wed, Sep 8, 2010 at 8:34 PM, Drasko DRASKOVIC > <[email protected]> wrote: >> On Wed, Sep 8, 2010 at 8:11 PM, Øyvind Harboe <[email protected]> >> wrote: >>> Look into the code in arm920t. It handles caches and breakpoints... >> >> Why arm920t, when I defined my target : >> target create $_TARGETNAME arm966e -endian big -chain-position my.cpu >> -variant arm946e >> >> Should not it be in src/target/arm966e.c ? > > Look at the code in arm920t_write_memory, this should be done in 966e too. > > There is a bit of a job to do there to gather the code that > writes software breakpoints and handles caching issues. > The code should be in a single place and utilized from the > various arm7/9 variants.
Øyvind, if I understood you correctly, currently we do not have support for arm966 for SW breakpoints (i.e. we will run into problem of repetitive breakpoint hit as I mentioned), i.e. this support can be added and should be similar to arm920t_write_memory(), but currently does not exist with arm966 ? Best regards, Drasko _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
