4 ms·
Wouldn't it be easier to run WineGDB in gdb server mode using the --gdb option rather than building a windows version of gdbserver?
by armada651 4y ago
Wouldn't it be easier to run WineGDB in gdb server mode using the --gdb option rather than building a windows version of gdbserver?
- jmillikin 4y agoHello, author here! Winedbg's built-in GDB server is more limited than gdbserver.exe -- importantly, the 'remote get' functionality isn't implemented. $ winedbg --gdb hello-win32.exe [...] Wine-gdb> info proc mappings Can't determine the current process's PID: you must name one. Wine-gdb> shell pidof hello-win32.exe 1883212 Wine-gdb> info proc mappings 1883212 process 1883212 warning: unable to open /proc file '/proc/1883212/maps' Wine-gdb> remote get /proc/1883212/maps /dev/stdout Remote I/O error: Function not implemented Considering that gdbserver.exe is packaged for Ubuntu as gdb-mingw-w64-target, there's not many reasons to use Winedbg's GDB mode.
- armada651 4y agoInteresting, yeah I did notice limitations in WineGDB before. I guess there's not much reason to use it unless there's something preventing you from running gdbserver.exe within wine.