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

Re: Problems with hfsprogs on G5 Power Macs



On 1/8/19 10:40, Frank Scheiner wrote:
(gdb) p src
$1 = (BlockDescriptor *) 0x7fffffffd2f8
(gdb) p srcDesc
$2 = (BTNodeDescriptor *) 0x7ffff5c91200
(gdb) p srcOffs
$3 = (uint16_t *) 0x7ffff5c913fe
(gdb) p sizeof(uint16_t)
$4 = 2
(gdb) p sizeof(BlockDescriptor)
$5 = 32
(gdb) p sizeof(BTNodeDescriptor)
$6 = 14
```

Good to know, saves me from looking up that line next time.

Not sure, but at least the (uint16_t *) cast looks odd on a 48 bit address, but wouldn't that also look odd on a 32 bit address on a G4? But maybe it can be used there (on e.g. G4s

I should have added "or with a 32 bit executable on G5s" here...

) in a specific way but not on G5s

...and "with a 64 bit executable" here, too.

Cheers,
Frank


Reply to: