View Single Post
Old 14 March 2018, 22:27   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
More UAE debugger improvements, now it parses and loads symbols and gcc stabs debugging information, including source file lines:

(pfs3aio entrypoint function)

Code:
>d _entrypoint
_EntryPoint:
70008170 000168 598f                     SUBA.L #$04 [24780004],A7
{
70008172 00016A 48e7 3f3e                MOVEM.L D2-D7/A2-A6,-(A7)
70008176 00016E 2478 0004                MOVEA.L $0004 [08000810],A2
        SysBase =  *((struct ExecBase **)4);
7000817A 000172 2c4a                     MOVEA.L A2,A6
        g = AllocMem(sizeof(struct globaldata), MEMF_CLEAR);
7000817C 000174 203c 0000 09d0           MOVE.L #$000009d0,D0
70008182 00017A 7201                     MOVE.L #$01 [414eaeff],D1
70008184 00017C 4841                     SWAP.W D1
70008186 00017E 4eae ff3a                JSR (A6, -$00c6) == $0800074a
7000818A 000182 2640                     MOVEA.L D0,A3
7000818C 000184 4a80                     TST.L D0
        if (!g)
7000818E 000186 660e                     BNE.B #$0e == $7000819e (T)
70008190 000188 7e01                     MOVE.L #$01 [474eaeff],D7
                Alert (AG_NoMemory);
70008192 00018A 4847                     SWAP.W D7
70008194 00018C 4eae ff94                JSR (A6, -$006c) == $080007a4
70008198 000190 200b                     MOVE.L A3,D0
                Wait (0);
7000819A 000192 4eae fec2                JSR (A6, -$013e) == $080006d2
7000819E 000196 274a 000c                MOVE.L A2,(A3, $000c) == $080009b6 [3b500000]
        g->g_SysBase = SysBase;
700081A2 00019A 43fa ff9c                LEA.L (PC,$ff9c) == $70008140,A1
        IntuitionBase = (APTR)OpenLibrary ("intuition.library", MIN_LIB_VERSION);
700081A6 00019E 7021                     MOVE.L #$21 [c0488044],D0
700081A8 0001A0 4eae fdd8                JSR (A6, -$0228) == $080005e8
700081AC 0001A4 2740 0010                MOVE.L D0,(A3, $0010) == $080009ba [00000800]
700081B0 0001A8 43fa ffa0                LEA.L (PC,$ffa0) == $70008152,A1
        DOSBase = (struct DosLibrary *)OpenLibrary ("dos.library", MIN_LIB_VERSION);
700081B4 0001AC 7021                     MOVE.L #$21 [40002452],D0
700081B6 0001AE 4eae fdd8                JSR (A6, -$0228) == $080005e8
(lots more still to do..)
Toni Wilen is offline  
 
Page generated in 0.04332 seconds with 11 queries