Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve again x86/ELF for GNU debugging tools #4888
Original bug ID: 4888
A lot of debugging tools are based on two ELF declarations that ocaml compiler does not handle : .file and .loc.
I've already done a patch which modify all compilation chain in order to add a new fun_dbg:Debuginfo.t on all fun_decl types.
This is not the cleanest and best solution, but that's working for all function calls.
Keep me in touch if you decide to get this solution or if you know any other way for adding these two declarations.
Comment author: tgazagna
Recently, I've worked enhancing the support of GDB. The result is a serie of patches against 3.12.1 (including some patches from ygrek and Till). If there is an interest, I can pass some time to port them to trunk: