RemedyBG»Forums
2 posts
GCC Compatibility

Are there any plans to allow RemedyBG to work with the symbol files that GCC generates? I'm aware that it's compatible with clang and msvc, but I would like to continue to use the compiler that I'm comfortable with rather than changing over a single debugger. Thank you for any information.

311 posts / 1 project
None
GCC Compatibility

You can try using Mingw-w64 GCC with cv2pdb to convert the DWARF to a PDB.

gcc -g -o example.exe main.c
cv2pdb example.exe
remedybg example.exe

You can get cv2pdb here: https://github.com/rainers/cv2pdb

Additional details and links from a (closed) issue here: https://github.com/x13pixels/remedybg-issues/issues/247

There may be some rough edges with the suggested tools as well as RemedyBG. Happy to take a look if you bump into any problems.

2 posts
GCC Compatibility
Edited by Baradine on Reason: new info

Managed to get it working using those instructions. Thanks for the help. Funnily enough, it only works if you launch remedybg through the command line like you suggested - if you start up remedybg seperately then add the command and working directory later, it doesn't work at all - though you still see the disassembly of course.

Edit: Only problem I can see is that the watch doesn't properly see some variables, even when adding the {*} before it, and checking the whole call stack. Dunno why this is.