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 e...@ozhiker.com 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 currently any way of making this happen? 

 I'm using a Cortex-M3 (STM32f1xx)

 **


Yes, take a look at the cortex_m3 vector_catch command. Although it has
worked automagically for me even without setting a vector catch. Same
processor. Haven't tried recently though.

/Andreas
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


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://www.zylin.com/
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development