Slowdown of the response from the command line?

asm warrior asmwarrior@gmail.com
Fri Feb 26 16:48:00 GMT 2010


Hi, all.
I have just find a noticeable time delay when I enter a command line.
I'm debugging a DLL file under Windows, using
http://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/GDB-7.0.50.20100202/gdb-7.0.50.20100202-mingw32-bin.tar.gz/download

When I try to view the wxString value in a DLL, I entered this command to GDB

output /c m_Str.m_pchData[0]@((wxStringData*)m_Str.m_pchData - 1)->nDataLength

But it takes several seconds to give the answer returned from GDB.

I built the latest snapshot of
branch/gdb-weekly-7.0.90.20100223.tar.bz2 and
current/gdb-7.1.50.20100223, but the delay still exists.

In fact, this delay does *not* exist before, at least in the
http://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/GDB-7.0.1/gdb-7.0.1-mingw32-bin.tar.gz/download,
which is release in 20100107, In this version, the response from GDB
is really fast.

I have check the commit log from 20100107 to 20100202, I personally
suspect there's regression in the CLI of handing command input
c_expression.
Also, I have create a bug report here :
http://sourceware.org/bugzilla/show_bug.cgi?id=11316

Does anyone experience this time delay? Thanks



More information about the Gdb mailing list