Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 14:50:13 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: ev4/5/6 issue ? 
Message-ID:  <54463.1037022613@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 11 Nov 2002 08:44:50 EST." <15823.46162.102126.470628@grasshopper.cs.duke.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54463.1037022613>