Re: [Openocd-development] Segfault when using breakpoints

2009-04-14 Thread Magnus Lundin
Hi, The patch does not have any side effects and problem seems to be solved so I have committed the patch with minor cosmetic changes. Thanks. Regards, Magnus Zach Welch wrote: > Given your information and the code, the attached patch should work > around the problem, unless there are instruc

Re: [Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Ken Smith
Fantastic! Your patch allows me to single step. You have fixed my one and only problem with OpenOCD. Keep up the great work. Sincere thanks, Ken On Mon, Apr 13, 2009 at 5:31 PM, Zach Welch wrote: > Given your information and the code, the attached patch should work > around the problem,

Re: [Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Zach Welch
Given your information and the code, the attached patch should work around the problem, unless there are instructions not handled by the following block of logic. I added output to see if that is the case. Cheers, Zach On Tue, 2009-04-14 at 00:50 +0200, Magnus Lundin wrote: > Hi, > > Is it pos

Re: [Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Magnus Lundin
Hi, Is it possible to find out the exact assembly code that kills OpenOCD ? Let me guess that I could be an immediate shift or MOVS in thumb mode . I am not an expert on the single step PC prediction code in arm_simulate_step(target_t *target, u32 *dry_run_pc) but there are some tumb instructio

Re: [Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Ken Smith
On Mon, Apr 13, 2009 at 2:23 PM, Hermann Kraus wrote: > On Mon, 13 Apr 2009 23:11:29 +0200, Ken Smith wrote: >> >> This crash kills openocd every time.  Any ideas? > > I have the same problem and one more person on this list also reported it. > It crashes at exactly the same location. I hope some

Re: [Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Hermann Kraus
On Mon, 13 Apr 2009 23:11:29 +0200, Ken Smith wrote: > This crash kills openocd every time. Any ideas? I have the same problem and one more person on this list also reported it. It crashes at exactly the same location. I hope someone fixes this soon, as I currently don't have the time to deb

[Openocd-development] Segfault when using breakpoints

2009-04-13 Thread Ken Smith
I tried to post this to the forum at sparkfun but was denied with: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory. Thinking about it more, perhaps