Building on the foundation of Open Watcom debugger cross-platform tools, SciTech Software Inc. has extended debugger support for QNX Neutrino x86 targets.Open Watcom Debugger is already functional for debugging GNU gcc generated code for x86 Linux targets. The remote debugger can run natively on Linux host with either a text-based window for console modes or an X client window for GUI desktop modes. The developer can debug the remote machine using TCP/IP, serial, or parallel connections when running the corresponding debug server ""trap"" program on the target. If the target system can mount an NFS image of the host system source code tree, the developer can even run the remote debug session directly via a remote terminal connection like SSH.
Porting the latest QNX Neutrino Photon graphics driver to SciTech SNAP Graphics provided similar opportunity for remote debugging on a Linux host machine. The recommended QNX DDK method for remote debugging describes running GNU gdb debugger over remote telnet session. With gdb you get all the frustration of one-line-at-time tracing of the program, if you are lucky enough to have gdb import the source code symbols properly. Not to mention the flakiness of not knowing whether or not gdb will actually stop control at your set breakpoints.
With Open Watcom debugger running a remote session, you see your source code in its entirety in scrollable windows. The Open Watcom debugger will search your host drive for the source files matching the target binary code, and automatically load them into the debugger session when attached to the running process. For a Linux debugger host, the source code path can be mapped 1:1 to the QNX Nuetrino target via NFS mounted drive. For a Windows debugger host, the source code path can be mapped to the QNX target via CIFS (Samba) mounted drive, and the host debugger will automatically handle Windows-style file system drive letter and backslash path separators when resolving source file names.
Read More: http://www.scitechsoft.com/pdf/openwatcom_crossbebug_QNX_whitepaper.pdf