Integrating a JTAG debugger with Momentics

We have developed a prototype gdbserver-like application that allows a
USB-connected JTAG debugger to be used with GDB, this allows debugging
of standalone applications, Linux kernels and Linux kernel modules. We
can also debug standalone embedded applications using Eclipse.

We now wish to support QNX debugging under Momentics using the JTAG
debugger, to allow users to take advantage of the JTAG debugger features
like trace and complex breakpoints when debugging device drivers etc.

I am not that experienced with QNX but one of the problems I can see is
that (unlike a Linux kernel module) a QNX device driver is a separate
task (not sure of QNX terminology here!) in it’s own address space.
Therefore to do source level debugging of the driver with the JTAG
debugger we need to be aware of the OS address translation. There may
well be other issues.

Basically my problem is that the debugger needs to be aware of the OS
but I cannot find any documentation or APIs that will give this
information. Can anyone help?

Regards

Julian Back

Basically my problem is that the debugger needs to be aware of the OS
but I cannot find any documentation or APIs that will give this
information. Can anyone help?

Julian - you need to talk to people bigger then this newsgroup to
get that information. It does exist though, as other debugger companies
have done simular products that support QNX. Try contacting Shelly Bryen
at QNX HQ in Ottawa, sbryen@qnx.com.

chris


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

Julian
Are you aware of the partnering program of QNX?
This could include free dev tools & support.
You should contact Shelley Bryen at QNX for more information.
I think the level of access you will need to get
the info you require will be best met with support
directly.

On Fri, 25 Jun 2004 10:24:16 +0100, Julian Back <jback@mpc-data.co.uk>
wrote:

We have developed a prototype gdbserver-like application that allows a
USB-connected JTAG debugger to be used with GDB, this allows debugging
of standalone applications, Linux kernels and Linux kernel modules. We
can also debug standalone embedded applications using Eclipse.

We now wish to support QNX debugging under Momentics using the JTAG
debugger, to allow users to take advantage of the JTAG debugger features
like trace and complex breakpoints when debugging device drivers etc.

I am not that experienced with QNX but one of the problems I can see is
that (unlike a Linux kernel module) a QNX device driver is a separate
task (not sure of QNX terminology here!) in it’s own address space.
Therefore to do source level debugging of the driver with the JTAG
debugger we need to be aware of the OS address translation. There may
well be other issues.

Basically my problem is that the debugger needs to be aware of the OS
but I cannot find any documentation or APIs that will give this
information. Can anyone help?

Regards

Julian Back


Using Opera’s revolutionary e-mail client: http://www.opera.com/m2/