From owner-freebsd-alpha Mon Nov 11 5:50:30 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E460937B401 for ; Mon, 11 Nov 2002 05:50:28 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5016443E3B for ; Mon, 11 Nov 2002 05:50:27 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gABDoDOr054464; Mon, 11 Nov 2002 14:50:13 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Andrew Gallatin Cc: alpha@FreeBSD.ORG Subject: Re: ev4/5/6 issue ? In-Reply-To: Your message of "Mon, 11 Nov 2002 08:44:50 EST." <15823.46162.102126.470628@grasshopper.cs.duke.edu> Date: Mon, 11 Nov 2002 14:50:13 +0100 Message-ID: <54463.1037022613@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <15823.46162.102126.470628@grasshopper.cs.duke.edu>, Andrew Gallatin writes: > >Poul-Henning Kamp writes: > > > > I get the trap on my alphastation 255, not on beast. > >OK, that wasn't clear to me before. I thought you were saying it also >trapped on beast. > > >What instruction is causing the trap? > > > > I have no idea, gdb doesn't offer any help as far as I can see :-( > >Just disassemble the code around the faulting instruction. Either >using gdb's built-in disassembler or objdump. You do have the >faulting instruction from gdb, right? Yeah, well, gdb sort of chokes... l153# gdb /usr/bin/make [yak yak yak...] (gdb) run Starting program: /usr/bin/make warning: shared library handler failed to enable breakpoint Program received signal SIGILL, Illegal instruction. warning: Hit heuristic-fence-post without finding warning: enclosing function for address 0x12001f4e8 This warning occurs if you are debugging a function without any symbols (for example, in a stripped executable). In that case, you may wish to increase the size of the search with the `set heuristic-fence-post' command. Otherwise, you told GDB there was a function where there isn't one, or (more likely) you have encountered a bug in GDB. 0x12001f4e8 in ?? () (gdb) where #0 0x12001f4e8 in ?? () warning: Hit heuristic-fence-post without finding warning: enclosing function for address 0x120000218 (gdb) If this is an ev45/ev6 issue I guess my very naïve end-user questions are: 1. Why doesn't file(1) tell me if a binary is ev45 or ev6 ? 2. Couldn't the elf activator not find out and say "Sorry, cannot execute ev6 on this machine" ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message