Driver Debugging

Is there anyway to use GDB to debug network driver objects?

Thanks in advance.

Steven Erickson <sojg@mediaone.net> wrote:

Is there anyway to use GDB to debug network driver objects?

Yep - just attach gdb to the running io-net process and setup the gdb paths
to load the symbols from the correct shared libraries.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Chris,

Is there any way to do this using CodeWarrior? I’ve tried the obvious of
telling CW that this is a debug object but when I try to debug the
driver (via a serial line) CW tell me that I cannot debug a shared
library.


Chris McKillop wrote:

Steven Erickson <> sojg@mediaone.net> > wrote:

Is there anyway to use GDB to debug network driver objects?


Yep - just attach gdb to the running io-net process and setup the gdb paths
to load the symbols from the correct shared libraries.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL

You have now gone beyond my area. :slight_smile: I have never even used CodeWarrior,
how ever I expect that you just want to debug io-net since your code will
be loaded and the CW debugger should just resolve the symbol data from
your .so “magically”.

chris


Dave Edwards <dedwards@wavelength-digital.com> wrote:

Chris,

Is there any way to do this using CodeWarrior? I’ve tried the obvious of
telling CW that this is a debug object but when I try to debug the
driver (via a serial line) CW tell me that I cannot debug a shared
library.


Chris McKillop wrote:

Steven Erickson <> sojg@mediaone.net> > wrote:

Is there anyway to use GDB to debug network driver objects?


Yep - just attach gdb to the running io-net process and setup the gdb paths
to load the symbols from the correct shared libraries.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<