[Vm-dev] Help Request: gdb usage et al [RV64]

Eliot Miranda eliot.miranda at gmail.com
Mon Aug 1 14:01:09 UTC 2022

> On Jul 31, 2022, at 4:30 PM, Ken.Dickey at whidbey.com wrote:
> Better code sequence got to calling entryThunk(), which hit gdb breakpoint.
> Now on to "could not locate Callback instance corresponding to thunk address" -- but in Smalltalk!  ;^)

Excellent! So this means simply you need to adjust the pc value derived in the thunk code that calls thunkEntry. thunkEntry can add an offset to this to compute the thunk’s address. Smalltalk will then be able to look up the thunk to derive the Callback.

> Thanks again to all,
> -KenD
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FFICallbackThunk-initializeRiscV64.st
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220801/26cf02a4/attachment.ksh>

More information about the Vm-dev mailing list