From owner-freebsd-hackers Fri Feb 13 16:51:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20218 for freebsd-hackers-outgoing; Fri, 13 Feb 1998 16:51:23 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20198 for ; Fri, 13 Feb 1998 16:51:19 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id LAA22973; Sat, 14 Feb 1998 11:21:07 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA05577; Sat, 14 Feb 1998 11:21:06 +1030 (CST) (envelope-from grog) Message-ID: <19980214112105.05348@freebie.lemis.com> Date: Sat, 14 Feb 1998 11:21:05 +1030 From: Greg Lehey To: Chris Toshok , freebsd-hackers@FreeBSD.ORG Subject: Re: Another problem with debugging the navigator on FreeBSD2.2-STABLE References: <34E3CE26.880FC190@netscape.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <34E3CE26.880FC190@netscape.com>; from Chris Toshok on Thu, Feb 12, 1998 at 08:37:58PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 12 February 1998 at 20:37:58 -0800, Chris Toshok wrote: > So, I've gotten around my complete inability to even *run* gdb on the > navigator, but now I've got another problem: When I hit a breakpoint > and try to either step or continue, I see: > > (gdb) c > Continuing. > > Program received signal SIGTRAP, Trace/breakpoint trap. > foo_nsFunction (foo=0x0) at foofile.c:192 > (gdb) > > The problem is, the breakpoint is at the same place at which the program > just stopped. The only way to get past this breakpoint is to disable > the breakpoint and continue. Disabling the breakpoing and stepping > doesn't work. It should do. Are you sure that this is the real problem? > It's getting pretty frustrating, trying to debug a large amount of code > by setting breakpoints at just about every line of a function and > disabling one and then enabling another. > > Anyone got an idea what could be causing this? Debugging other > programs works fine. I would imagine that the size of the program > and it's shared libraries is part of the problem, but what can I do > to fix it? Good question. Can you give me a binary to look at? Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message