The GDB JIT Interface
bernsteinbear.com26 points by surprisetalk 5 days ago
26 points by surprisetalk 5 days ago
This was always too much work for not enough benefit. What I did in the case to debug into such cases, I constructed the C equivalent temporarily, compiled it on the fly also with -g, set the source to this file and could easily debug the function.
How do you know what the equivalent C is for the JIT assembly ?
Since I generate the asm part, generating the C part is easier.
I usually do just simple method JITs, which are C parts. Usually just calling an API method.