Re: [Gems-users] Magic Instructions


Date: Tue, 19 Sep 2006 12:01:29 +0200
From: "Daniele Bordes" <daniele.bordes@xxxxxxxxx>
Subject: Re: [Gems-users] Magic Instructions
Hi all!  Finally I have solved the problem by compiling the code
containing MAGIC_BREAKPOINT with the option -S and modifying MANUALLY
the assembly code generated, that is inserting MANUALLY into it the
instruction "sethi 0x40000, %g0". The problem was that gcc 4.01
doesn't insert correctly the instruction "sethi 0x40000, %g0" in the
assembly, not even bypassing magic_instruction.h and inserting
directly the asm("sethi 0x40000, %g0") directive in the C source code.
[← Prev in Thread] Current Thread [Next in Thread→]