From owner-freebsd-alpha Tue Apr 13 12:16:36 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id A2DA714D69 for ; Tue, 13 Apr 1999 12:16:30 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA54796; Tue, 13 Apr 1999 20:18:10 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Tue, 13 Apr 1999 20:18:09 +0100 (BST) From: Doug Rabson To: Hidetoshi Shimokawa Cc: gallatin@cs.duke.edu, freebsd-alpha@freebsd.org, obrien@NUXI.com Subject: Re: EGCS and Alpha builds In-Reply-To: <14099.10351.647510.43847V@ett.sat.t.u-tokyo.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 13 Apr 1999, Hidetoshi Shimokawa wrote: > At Sun, 11 Apr 1999 19:26:49 +0100 (BST), > Doug Rabson wrote: > > > I'm going to make world/kernel with '-Os -mcpu=ev56'. > > > > That might be interesting.. > > I couldn't finish make world with '-Os -mcpu=ev56" because bison > run forever. And the kernel built with the option was unstable. > But make world/kernel with '-O2 -mcpu=ev56' seems to work fine. > > BTW, I have trouble with stack trace in GDB/DDB. > I think you can reproduce the problem easily in DDB. > > [send break] > Stopped at siointr1+0xcc: br zero,siointr1+0x1fc > db> trace > siointr1() at siointr1+0xcc > siointr() at siointr+0x14 > siointr() at siointr+0x14 > siointr() at siointr+0x14 > siointr() at siointr+0x14 > siointr() at siointr+0x14 > siointr() at siointr+0x14 > ... [continue forever until you reset the machine] > > Stack frame might be changed in egcs, but I don't know how to fix. The backtrace code in DDB is somewhat fragile. It has to parse the function prologue to figure out where the return address is. I expect egcs has changed the prologue. GDB does something similar; hopefully it will be fixed in gdb-4.18. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message