Hi,
I'm still searching how to handle signal with openocd (cf. previous 
post), and during my research I've found that signal header is only used 
in win32 so instead of let signal.h get linked every time I think it's 
better to change it like that :

#ifndef _WIN32
#include <signal.h>
#include <netinet/tcp.h>
#endif

And the size of the apps reduce a bit :)
I'll not make a patch so if some one want to, just do it ;)

Vivien

On 03/06/2012 06:23 PM, Vivien Giraud wrote:
> Hello all,
> I'm still working on Openocd, and now I'm searching how openocd handle 
> signal (SIGABRT is the one I need).
> I'm searching this because when my program make a SIGABRT GDB don't 
> handle anything, my exception is handle by an internal tools coded for 
> this. When I made a SIGINT (ctrl-C) it print that I'm in my internal 
> tools that handle exception.
> So, someone know why on Lauterbach SIGABRT stop the target and print a 
> backtrace, and not OpenOCD ?
>
> Cheers all,
> Vivien


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to