[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xorg segfaults on iMac G3 with Rage 128 Pro



On 4/18/23 10:44 PM, Paul Wise wrote:
These are the macro definitions.

    #define R128_BIOS8(v)  ((info->VBIOS[(v)]))
    #define R128_BIOS16(v) ((info->VBIOS[(v)])           | \
    			(info->VBIOS[(v) + 1] << 8))
    #define R128_BIOS32(v) ((info->VBIOS[(v)])           | \
    			(info->VBIOS[(v) + 1] << 8)  | \
    			(info->VBIOS[(v) + 2] << 16) | \
    			(info->VBIOS[(v) + 3] << 24))

Please try these gdb commands once you hit the crash point:

    print info
    print info.VBIOS
    print info->VBIOS
    print info->VBIOS[0x48]
    print info->VBIOS[0x49]
(gdb) print info
$1 = (R128InfoPtr) 0x776ed0
(gdb) print info.VBIOS
$2 = (uint8_t *) 0x0
(gdb) print info->VBIOS
$3 = (uint8_t *) 0x0
(gdb) print info->VBIOS[0x48]
Cannot access memory at address 0x48
(gdb) print info->VBIOS[0x49]
Cannot access memory at address 0x49

--
Ben Westover

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: