Re: Returning from signal handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to see ALL the syscall made for a userspace program, use "strace".

On Mon, Oct 20, 2008 at 7:02 PM, Pharaoh . <pharaoh137@xxxxxxxxx> wrote:
>
>
> Hi
>
> As per my understanding, whenever a signal handler is returned, sigreturn()
> system call
> is called, so just to test my understanding I wrote a simple app with signal
> handler and
> tried to put a breakpoint at sigreturn call, but I could never hit that
> breakpoint.
>
> How can one figure out how return from signal handler is done, and be sure
> about it?
> I mean is there any flag I can check or any return value I can check and
> decide that
> signal handler has returned?
>
> Regards.
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux