Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - IDE patches needed to debug the kernel: (4 Items)
   
IDE patches needed to debug the kernel  
Hello,

I am currently trying to set up the IDE to be able to debug a kernel extension I am developing.

The document at http://community.qnx.com/sf/wiki/do/viewPage/projects.core_os/wiki/KernelDebuggingAndTheIDE  mentions 
some IDE patches I need to install in order to have the "GDB Kdebug" functionality enabled.

Yet, I cannot find this patch.

Where can I get it?

Thanks and greetings,

gunnar.
RE: IDE patches needed to debug the kernel  
Looks like this wiki page severely obsolete. You don't need IDE updates.
To create launch configuration select "C/C++ Local Application" in launch
configurations tree and as debugger type pick "gdbserver Debugger" and then
apply other instructions for launch configuration.
Re: RE: IDE patches needed to debug the kernel  
Hi,

ah, thanks, that got me a bit further. Wouldn't have expected to find remote debugging settings with an option like "
Debug Local C/C++ Target", though.

Anyways, i fail to debug because the connection times out when trying to debug. The serial connection as is is working, 
i can debug nicely using pdebug.

I am using QNX-x86 in Qemu under Windows XP, and connect the IDE to Qemu using a virtual COM port pair (com0com). When 
using a terminal emulator, i see the debug handshake message upon kernel startup, but when trying to connect, it just 
times out. I tried 9600 and 57600 baud.

What can i do?

Thanks, greetings and a Merry Christmas,

gunnar.
RE: RE: IDE patches needed to debug the kernel  
Can you do it from command line? 
Probably you should to post this in kernel forum... I fixed wiki page from
IDE point of view, but I don't know what is required from neutrino setup...