From owner-freebsd-hackers Mon Oct 29 4:30:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2E1AF37B405 for ; Mon, 29 Oct 2001 04:30:23 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 29 Oct 2001 12:30:22 +0000 (GMT) To: k Macy Cc: freebsd-hackers@freebsd.org Subject: Re: problems with recurring SIGTRAP under gdb In-Reply-To: Your message of "Sun, 28 Oct 2001 18:37:46 PST." <20011029023746.94559.qmail@web14001.mail.yahoo.com> Date: Mon, 29 Oct 2001 12:30:22 +0000 From: Ian Dowse Message-ID: <200110291230.aa64062@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20011029023746.94559.qmail@web14001.mail.yahoo.com>, k Macy writes: >Any idea why when I insert a breakpoint I get a >SIGTRAP >and can't continue any further? Is this a bug in the I've seen this on applications that use SIGIO on stdin. If this is the case, a workaround is to disable the SIGIO signal while using the debugger, e.g: (gdb) set $oldsigio = signal(23, (void *)1) The signal handler can be put back later with: call signal(23, (void *)$oldsigio) Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message