Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The GDB JIT Interface (bernsteinbear.com)
16 points by surprisetalk 4 hours ago | hide | past | favorite | 3 comments




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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: