Thank you I found it myself.

The code inside fatal_error_signal was not executing. So, checked the
makefile. It was traping the signal before it could go to make.

Thanks anyways. Will start a new thread if required.

Nikhil

On Sun, Sep 22, 2019 at 2:30 AM Paul Smith <psm...@gnu.org> wrote:

> On Wed, 2019-09-18 at 08:20 +0530, nikhil jain wrote:
> > Can you please let me know when I do a SIGINT to the running make or
> > do a ctrl+c, which function is called at the last ? I want to add
> > some logic in there.
>
> Please start a new thread for a different question.  Also, for public
> lists like this we prefer to avoid top-posting replies which quote the
> entire history of the thread (there are various online archives you can
> use to see the history if you need it), and instead use 'intermingled'
> replies which strip out just the statements being addressed and reply
> to them inline.
>
> GNU make invokes the fatal_error_signal() function when a terminating
> signal is received.
>
>
_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to