Date: Wed, 20 Aug 1997 09:32:27 +0200 (MET DST) From: hans@brandinnovators.com (Hans Zuidam) To: grog@lemis.com (Greg Lehey) Cc: hackers@FreeBSD.ORG Subject: Re: gdb: Program received signal SIGTRAP? Message-ID: <199708200732.JAA21257@truk.brandinnovators.com> In-Reply-To: <19970820122215.34114@lemis.com> from Greg Lehey at "Aug 20, 97 12:22:15 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. > Here's a sample: > 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. This is probably because your process (ppp) is corrupting its stack. gdb examines to processes stack to find proper stack frames when inserting/removing breakpoint. If the stack is corrupted gdb gets very confused. Regards, Hans -- H. Zuidam E-Mail: hans@brandinnovators.com Brand Innovators B.V. P-Mail: P.O. Box 1377 de Pinckart 54 5602 BJ Eindhoven, The Netherlands 5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708200732.JAA21257>