🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jyrki Kuoppala Mon, 12 Jun 1989 19:07
GDB disassembles wrong on m68k
#802
Author: Jyrki Kuoppala
Date: Mon, 12 Jun 1989 19:07
27 lines
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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads