Article View: gnu.gdb.bug
Article #10104SPARC %fsr instruction bug in gas & gdb
From: Alexander Dupuy
Date: Thu, 10 May 1990 17:59
Date: Thu, 10 May 1990 17:59
15 lines
1317 bytes
1317 bytes
When I used gcc/gas to compile the program recently posted to Sun-Spots to determine SPARC FPU version, I got an Illegal Instruction abort. Running gdb disassemble on the code showed nothing abnormal, but when I disassembled the code generated by the Sun assembler, there was one discrepancy; the instuction st %fsr,[%sp+64] ! assembled by Sun as was reported by gdb as "unimp 0xffaea6fc". Sun adb didn't recognize the instruction assembled by gas; the hex dump of the instruction was 0xc113a040. So it seems both gas and gdb have the incorrect format for this instruction. @alex -- inet: dupuy@cs.columbia.edu uucp: ...!rutgers!cs.columbia.edu!dupuy
Technical Details
Message-ID:
<9005101759.AA10709@hudson.cs.columbia.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!HUDSON.CS.COLUMBIA.EDU!dupuyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,45e6d48c5c822cd1,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-05-11 02:59:52 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!HUDSON.CS.COLUMBIA.EDU!dupuy From: dupuy@HUDSON.CS.COLUMBIA.EDU (Alexander Dupuy) Newsgroups: gnu.gdb.bug Subject: SPARC %fsr instruction bug in gas & gdb Message-ID: <9005101759.AA10709@hudson.cs.columbia.edu> Date: 10 May 90 17:59:34 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: dupuy@cs.columbia.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 Posted: Thu May 10 18:59:34 1990