Re: [Openocd-development] [PATCH] ARM7_9: Fix segfault.

2009-12-31 Thread David Brownell
On Thursday 31 December 2009, Antonio Borneo wrote: > On Thu, Dec 31, 2009 at 9:01 AM, David Brownell wrote: > > Do you have a strategy for finding these, or are you just > > tripping over these problems? Either way is fine, but I'm > > curious. > > At the beginning, just by chance. Well please

Re: [Openocd-development] [PATCH] ARM7_9: Fix segfault.

2009-12-31 Thread Antonio Borneo
On Thu, Dec 31, 2009 at 9:01 AM, David Brownell wrote: > Do you have a strategy for finding these, or are you just > tripping over these problems? Either way is fine, but I'm > curious. At the beginning, just by chance. I'm adding support to new SOC and board based on arm926, and a new JTAG devic

Re: [Openocd-development] [PATCH] ARM7_9: Fix segfault.

2009-12-30 Thread David Brownell
On Wednesday 30 December 2009, Antonio Borneo wrote: > Same issue of former patch "ARM9TDMI: Fix segfault.", but in additional > places. Someone is getting some good testing and bugfixing done ... :) Merged; thanks. Do you have a strategy for finding these, or are you just tripping over these

[Openocd-development] [PATCH] ARM7_9: Fix segfault.

2009-12-30 Thread Antonio Borneo
Same issue of former patch "ARM9TDMI: Fix segfault.", but in additional places. When target board is powered off, or JTAG cable disconnected, target is not examined and pointer arm7_9->eice_cache is NULL. How to verify: - create a simple openocd.cfg file containing following 2 lines: source [f