NetBSD-Bugs archive

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

Re: kern/44432: cannot single-step over a call to sigprocmask()



The following reply was made to PR kern/44432; it has been noted by GNATS.

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44432: cannot single-step over a call to sigprocmask()
Date: Mon, 24 Jan 2011 16:43:37 +0000

 On Friday 21 January 2011 17:00:01 pooka%iki.fi@localhost wrote:
 [...]
 > #include <signal.h>
 > #include <stdio.h>
 > 
 > int
 > main()
 > {
 >         sigset_t set;
 > 
 >         sigfillset(&set);
 >         sigprocmask(SIG_SETMASK, &set, NULL);
 >         printf("hello, world!\n");
 > 
 > }
 
 If it wasn't obvious... deleting SIGTRAP from the sigset_t allows gdb to 
 step/next over the sigprocmask call.
 
 Nick
 


Home | Main Index | Thread Index | Old Index