kdevelop2.0 dbg changes
hausmann at kde.org
Sun Jun 24 09:34:02 UTC 2001
On Sat, Jun 23, 2001 at 11:39:56AM +1200, jbb wrote:
> Ok Harry, what have you done.
> 142 QString libPath = stddirs.findResourceDir("lib","
> 143 QFileInfo libFI( libPath + "/libkdeui.so.3.0.0");
> (gdb) print libPath.latin1()
> Cannot evaluate function -- may be inlined
> latin1() doesn't always work in gdb :(( hence that nasty convoluted gdb
> statement you've replace. Wanna fix.... :-)
> you can test this by debugging kdevelop 2.0 and breaking on main.cpp:143
> It could be done better than I've done it, I'm sure, but...
What I was suggesting on irc was something along the lines of
while $i < $arg0.d->len
in hope that it works with qt2 _and_ qt3 (what changed between those two is
the naming of the members in QChar) . The difference is that latin1() on a
QChar has no side-effects, in contrary to the latin1() on QString (which
is not as const as it claims to be) . Maybe the former works better in you
example? (meaning gdb not refusing to 'call' it?)
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
More information about the KDevelop-devel