Re: [Openocd-development] GDB notification of processor reset

2011-08-30 Thread Andreas Fritiofson
On Sat, Aug 27, 2011 at 12:43 AM, Evan Hunter wrote: > Hi All, > > ** ** > > I've noticed that if my processor gets reset whilst debugging a program, > GDB knows nothing about it. I would have thought GDB should stop, in a > similar way as hitting a breakpoint. > > ** ** > > Is there curr

Re: [Openocd-development] GDB notification of processor reset

2011-08-27 Thread Øyvind Harboe
You can detect it and issue a halt event to GDB server... I don't have a ready pointer to where in the code such things happen. Perhaps if you look at poll and gdb? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://

[Openocd-development] GDB notification of processor reset

2011-08-26 Thread Evan Hunter
Hi All, I've noticed that if my processor gets reset whilst debugging a program, GDB knows nothing about it. I would have thought GDB should stop, in a similar way as hitting a breakpoint. Is there currently any way of making this happen? I'm using a Cortex-M3 (STM32f1xx) Regards,