Article View: gnu.gdb.bug
Article #802GDB disassembles wrong on m68k
From: Jyrki Kuoppala
Date: Mon, 12 Jun 1989 19:07
Date: Mon, 12 Jun 1989 19:07
27 lines
1147 bytes
1147 bytes
GDB (almost 3.2) disassembles wrong on the m68k. For example, dissassembling itself, it says: 0x35a8e <morecore+396>: moveml 1148(fp),d3/d5-sp when adb does the correct thing: _morecore+0x18c: moveml a6@(-0x18),d2/d3/d4/d5/d6/a2 The hex code is: 0x35a8e <morecore+396>: 0x4cee047c (top-gdb) 0x35a92 <morecore+400>: 0xffe84e5e respectively, when disassembling getpool(): 0x35b22 <getpool+138>: moveml 3076(fp),d2/d4-sp versus _getpool+0x8a: moveml a6@(-0xc),d2/a2/a3 //Jyrki Jyrki Kuoppala Helsinki University of Technology, Finland. Internet : jkp@cs.hut.fi [128.214.3.119] BITNET : jkp@fingate.bitnet Gravity is a myth, the Earth sucks!
Technical Details
Message-ID:
<8906121907.AA06234@cs.hut.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SAUNA.HUT.FI!jkpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SAUNA.HUT.FI!jkp From: jkp@SAUNA.HUT.FI (Jyrki Kuoppala) Newsgroups: gnu.gdb.bug Subject: GDB disassembles wrong on m68k Message-ID: <8906121907.AA06234@cs.hut.fi> Date: 12 Jun 89 19:07:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Helsinki University of Technology, Finland. Lines: 27