Date: Wed, 20 Aug 1997 12:22:15 +0930 From: Greg Lehey <grog@lemis.com> To: FreeBSD Hackers <hackers@freebsd.org> Subject: gdb: Program received signal SIGTRAP? Message-ID: <19970820122215.34114@lemis.com>
next in thread | raw e-mail | index | archive | help
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.
Here's a sample:
(gdb) b 773
Breakpoint 1 at 0xfe6d: file /src/FREEBIE/usr.sbin/ppp/main.c, line 773.
(gdb) r -nodaemon -ddial bigpond
Starting program: /usr/obj/src/FREEBIE/usr.sbin/ppp/ppp -nodaemon -ddial bigpond
During symbol reading...unknown symbol type 0x1e...
User Process PPP. Written by Toshiharu OHNO.
Using interface: tun0
Automatic Dialer mode
Warning: No password entry for this host in ppp.secret
Warning: Manipulation is allowed by anyone
Breakpoint 1, DoLoop () at /src/FREEBIE/usr.sbin/ppp/main.c:773
773 if (been_here_before) /* we won't be able to do it again, */
(gdb) n
787 if(mode & MODE_INTER) {
(gdb)
788 #ifdef SIGTSTP
(gdb)
810 * due to the "set reconnect" value, we'd better bring the line
(gdb) c
Continuing.
Breakpoint 1, DoLoop () at /src/FREEBIE/usr.sbin/ppp/main.c:773
773 if (been_here_before) /* we won't be able to do it again, */
(gdb) n
Cannot insert breakpoint 0:
Error accessing memory address 0xefbfdfdc: Bad address.
(gdb) d
Delete all breakpoints? (y or n) y
(gdb) n
signal_recorder (sig=14) at /src/FREEBIE/usr.sbin/ppp/sig.c:48
48 caused[sig-1]++;
(gdb)
49 }
(gdb)
Program received signal SIGTRAP, Trace/breakpoint trap.
DoLoop () at /src/FREEBIE/usr.sbin/ppp/main.c:773
773 if (been_here_before) /* we won't be able to do it again, */
(gdb)
Cannot insert breakpoint 0:
Error accessing memory address 0xefbfdfdc: Bad address.
I'd be grateful for any suggestions.
Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970820122215.34114>
