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

Eliot Miranda eliot.miranda at gmail.com
Sun Jul 31 11:15:38 UTC 2022



_,,,^..^,,,_ (phone)

> On Jul 30, 2022, at 2:42 PM, Ken.Dickey at whidbey.com wrote:
> 
> Small progress.
> 
> I have gotten to the point where an Alien's byteVector looks well formed.
> 
> I am no longer getting a SIGILL, but now a Segfault.
> 
> I am still unable to get gdb to catch a breakpoint at either the trampoline or thunkEntry().
> 
> Details attached.
> 
> Help donated to my education is much appreciated,  ;^)

:-) 
You’ve not set a breakpoint in a thunk.  You need to set one at 0x3ff6e60000, (assuming unchanged addresses).  IIRC you say
(gdb) b * 0x3ff6e60000
but it may be just
(gdb) b 0x3ff6e60000

> -KenD
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ThunkEntryTrampoline.txt
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220731/fc1d6d4b/attachment-0001.txt>


More information about the Vm-dev mailing list