[PATCH] SIGTERM handler

Andrew STUBBS andrew.stubbs@st.com
Wed Nov 16 19:29:00 GMT 2005


Hi,

This patch adds a handler for SIGTERM.

The main purpose is to ensure that GDB quit through quit_force() and
therefore properly disconnects from the target. This is quite important
for our target interface and should do no harm for anybody else's.

It also ensures that --return-child-result works when GDB exits this way.

Thanks

Andrew Stubbs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sigterm.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20051116/978a5ba6/attachment.ksh>


More information about the Gdb-patches mailing list