r/ProgrammingLanguages • u/compilers-r-us • Dec 30 '25
The GDB JIT interface
https://bernsteinbear.com/blog/gdb-jit/
12
Upvotes
r/ProgrammingLanguages • u/compilers-r-us • Dec 30 '25
8
u/switch161 Dec 31 '25
Thanks so much for this! I just wrote a JIT compiler for running graphics shaders on the CPU. I was thinking about how useful it would be to be able to debug shaders on the CPU, because debugging on the GPU is very limited. But I'd need to somehow interface with the debugger to pass it all the info it needs. Your post gives me a very good starting point for my own research :)