David Reynolds(deleted)
09/28/2010 9:28 AM
post68756
|
Aleksandar,
Thanks for the reply.
I did build gdbserver for x86 nto, but it did not work well. I tried 3 or 4 different versions of GDB (including the one
supplied by QNX) and they all did the same thing- after stopping and restarting the target, the target would not stop
again. So the 1st time a breakpoint was hit would be the only time.
I admit I didn't look too close- I assumed that the gdb-gdbserver protocol was abstract enough to allow it to work
without GDB knowing too much about the target.
Oh well it looks like I'll have to wait for ntox86-gdb 7.x to come out.
Thanks again.
Dave.
-----Original Message-----
From: Aleksandar Ristovski [mailto:community-noreply@qnx.com]
Sent: Monday, September 27, 2010 11:39 PM
To: general-toolchain
Subject: Re: Better debugging
On Mon, 2010-09-27 at 21:09 -0400, David Reynolds wrote:
> Hello,
>
> I am very interested in being able to debug programs that use the STL. As you know the symbolic debugging with the QNX
tools just shows the implementation of the container and not the contents.
>
> I see experimental support for CDT 7.0- which includes support for GDB 7.x- which includes support for pretty printing
. This begs the question: Is there a GDB 7.x on the horizon for us?
Yes there is, but I can not give you any date at this moment.
>
> Also, it seems to me if QNX just provided a native (target) gdbserver, then this would avoid the trouble of
maintaining GDB for all of the host platforms
It is not exactly that easy. Gdb configured for your linux machine is
not necessarily configured to support qnx target, and there are
portions of changes that are not in sync with FSF.
In any case, we can not avoid maintaining gdb (if we switched to
gdbserver instead of our equivalent pdebug, we would have to maintain
both).
BTW, there is gdbserver for x86 nto target which you could build from
FSF gdb sources, but you will still need gdb configured for qnx target
on your host.
---
Aleksandar
_______________________________________________
General
http://community.qnx.com/sf/go/post68719
|
|
|