mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
ide: Mingw Gdb crashing on CPU tab, fixed by limiting the list of registers
git-svn-id: svn://ultimatepp.org/upp/trunk@13001 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5ffd4e4f73
commit
ff2dfc83e0
2 changed files with 8 additions and 1 deletions
|
|
@ -255,7 +255,11 @@ void Gdb::Self()
|
|||
|
||||
void Gdb::Cpu()
|
||||
{
|
||||
#ifdef PLATFORM_WIN32 // mingw dbg is crashing if listing all registers
|
||||
String s = FastCmd("info registers rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15");
|
||||
#else
|
||||
String s = FastCmd("info registers");
|
||||
#endif
|
||||
StringStream ss(s);
|
||||
cpu.Clear();
|
||||
bool even = false;
|
||||
|
|
|
|||
|
|
@ -627,8 +627,11 @@ void Ide::Periodic()
|
|||
{
|
||||
CheckFileUpdate();
|
||||
SetIcon();
|
||||
if(debugger && debugger->IsFinished() && !IdeIsDebugLock())
|
||||
if(debugger && debugger->IsFinished() && !IdeIsDebugLock()) {
|
||||
DDUMP(~debugger);
|
||||
DDUMP(debugger->IsFinished());
|
||||
IdeEndDebug();
|
||||
}
|
||||
}
|
||||
|
||||
const Workspace& Ide::IdeWorkspace() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue