mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Gdb: All visible GDB controls are now cleared properly when debugger is relunched.
git-svn-id: svn://ultimatepp.org/upp/trunk@12048 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b31d220e53
commit
d46d4476fc
2 changed files with 18 additions and 3 deletions
|
|
@ -192,7 +192,9 @@ public:
|
|||
|
||||
void SwitchFrame();
|
||||
void SwitchThread();
|
||||
|
||||
|
||||
void ClearCtrls();
|
||||
|
||||
static void ReadGdbValues(CParser& p, VectorMap<String, String>& val);
|
||||
static void ReadGdbValues(const String& h, VectorMap<String, String>& val);
|
||||
|
||||
|
|
|
|||
|
|
@ -299,8 +299,7 @@ String Gdb::DoRun()
|
|||
IdeSetBar();
|
||||
}
|
||||
|
||||
threads.Clear();
|
||||
disas.Clear();
|
||||
ClearCtrls();
|
||||
|
||||
String s;
|
||||
for(;;) {
|
||||
|
|
@ -438,6 +437,20 @@ void Gdb::SwitchThread()
|
|||
Cmdp("thread " + AsString(i));
|
||||
}
|
||||
|
||||
void Gdb::ClearCtrls()
|
||||
{
|
||||
threads.Clear();
|
||||
disas.Clear();
|
||||
|
||||
locals.Clear();
|
||||
watches.Clear();
|
||||
autos.Clear();
|
||||
self.Clear();
|
||||
cpu.Clear();
|
||||
|
||||
tree.Clear();
|
||||
}
|
||||
|
||||
bool Gdb::Key(dword key, int count)
|
||||
{
|
||||
if(key >= 32 && key < 65535 && tab.Get() == 2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue