On Sat, Oct 24, 2009 at 8:57 PM, David Brownell <[email protected]> wrote: > On Saturday 24 October 2009, Øyvind Harboe wrote: >> But should vector_catch be arm9 specific even so? Doesn't >> xscale + arm11 support somesuch? > > There are multiple vector_catch commands; just look > at the concept index in the User's Guide. > > >> I think the polymorphism at the C rather than command level >> makes sense. > > I still don't see the motivation. If there's no common > command logic, what would call common lowlevel stuff?
I guess it is a matter of degree. There is stuff in common between targets for vector_catch, but it is not as blatantly obvious as for the memory read/write physical memory case... I'd like to see the arm9tdmi prefix to vector_catch removed or at least trimmed down to arm9. We have not established whether arm7 cores can support any type of vector catching. BDI2000 w/arm7 could, but I don't know the mechanism. I think it might have been clever wrapping of hardware breakpoints. Break on address 0 w/a mask to cover all the exception vectors? Even if the vector_catch mechanism does not use any hardware ICE support, should we change the syntax of the vector_catch command? I'm happy with waiting with such a change until we have accumulated some grander reason to touch that code though. To me this thread was very useful to me, I now understand a lot more about vector_catch than I did before... -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
