OSDN Git Service

add timeout handling for gdb commands
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 3 Nov 2009 13:56:27 +0000 (14:56 +0100)
committercon <qtc-committer@nokia.com>
Wed, 4 Nov 2009 18:01:11 +0000 (19:01 +0100)
commit608dfca7bce4984d4a5569f9bfa2dbfd24022b1a
treea20b91151a5fa2cf62f7a4e4937df09aaa770cdc
parent59413e857ea18c504f327536817147ebea294fc5
add timeout handling for gdb commands

sometimes, commands simply don't return ...

the debug message doesn't say anything which couldn't be found in the
log already, but that way it is more convenient.

and we kill gdb to get creator back to a defined state.

Reviewed-by: hjk
(cherry picked from commit 0ae60ba412afba260d0211ec5eecfe110ae8cfa2)
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.h