From owner-freebsd-hackers Tue Aug 19 23:51:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03654 for hackers-outgoing; Tue, 19 Aug 1997 23:51:23 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA03641 for ; Tue, 19 Aug 1997 23:51:13 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA27968 for hackers@FreeBSD.ORG; Wed, 20 Aug 1997 08:51:12 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA24826; Wed, 20 Aug 1997 08:24:59 +0200 (MET DST) Message-ID: <19970820082459.FC27103@uriah.heep.sax.de> Date: Wed, 20 Aug 1997 08:24:59 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: Re: gdb: Program received signal SIGTRAP? References: <19970820122215.34114@lemis.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970820122215.34114@lemis.com>; from Greg Lehey on Aug 20, 1997 12:22:15 +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Greg Lehey wrote: > Has anybody seen problems with gdb where you can't continue from a > breakpoint? I'm currently trying to test user ppp, but once I hit a > breakpoint, I can't continue. I'm running -current as of yesterday. SIGTRAP means that gdb got a signal for a breakpoint it didn't set. This can happen if a fork() inherits a breakpoint (but i think this wouldn't show up in gdb, but only as a fatal signal to the child). Seems your context was something of a signal handler, so it wouldn't surprise me there, too. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)