Path: 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 GDB (almost 3.2) disassembles wrong on the m68k. For example, dissassembling itself, it says: 0x35a8e : 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 : 0x4cee047c (top-gdb) 0x35a92 : 0xffe84e5e respectively, when disassembling getpool(): 0x35b22 : 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!