linux-mips
[Top] [All Lists]

Re: mozilla on the Indy

To: Mike Shaver <shaver@netscape.com>
Subject: Re: mozilla on the Indy
From: ralf@uni-koblenz.de
Date: Mon, 6 Jul 1998 20:31:53 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <35A10B96.9B47C150@netscape.com>; from Mike Shaver on Mon, Jul 06, 1998 at 01:38:30PM -0400
References: <359A447B.2D25377D@netscape.com> <19980702041137.I3255@uni-koblenz.de> <35A10B96.9B47C150@netscape.com>
Sender: owner-linux@cthulhu.engr.sgi.com
On Mon, Jul 06, 1998 at 01:38:30PM -0400, Mike Shaver wrote:

> ralf@uni-koblenz.de wrote:
> > Now that I've taken myself two minutes to browse your attached sources -
> > the patches to the NSPR thread routines look suspicious.  The are
> > playing games with the frame pointer which at least on the first look
> > don't make sense as gcc automatically enables -fomit-frame-pointer when
> > optimizing.
> 
> Turns out it's there only to save the FP so that you can use gdb to look
> at the NSPR thread stacks during debugging.  So, the fact that gcc
> removes it when building optimized isn't a problem.
> 
> For the record, NSPR threads aren't clone() threads; they're
> setjmp/longjmp things.

Usless effort, on MIPS debugging works without having a frame pointer.

  RalF

<Prev in Thread] Current Thread [Next in Thread>