mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: fixed to compile with GCC
git-svn-id: svn://ultimatepp.org/upp/trunk@9091 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ac37cc52aa
commit
58a0849c24
4 changed files with 6 additions and 4 deletions
|
|
@ -389,11 +389,13 @@ void Ide::ConditionalBreak()
|
|||
|
||||
Index<String> cfg = PackageConfig(IdeWorkspace(), 0, GetMethodVars(method), mainconfigparam,
|
||||
*CreateHost(true), *CreateBuilder(~CreateHostRunDir()));
|
||||
#ifdef COMPILER_MSC
|
||||
if(cfg.Find("MSC") >= 0) {
|
||||
if(EditPDBExpression("Conditional breakpoint", brk, NULL))
|
||||
editor.SetBreakpoint(ln, brk);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if(EditText(brk, "Conditional breakpoint", "Condition"))
|
||||
editor.SetBreakpoint(ln, brk);
|
||||
editor.RefreshFrame();
|
||||
|
|
|
|||
|
|
@ -212,6 +212,4 @@ struct Gdb : Debugger, ParentCtrl {
|
|||
#include "Pdb.h"
|
||||
#endif
|
||||
|
||||
bool EditPDBExpression(const char *title, String& brk, Pdb *pdb);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -356,8 +356,6 @@ One<Debugger> PdbCreate(One<Host> rval_ host, const String& exefile, const Strin
|
|||
return dbg;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#define LAYOUTFILE <ide/Debuggers/Pdb.lay>
|
||||
#include <CtrlCore/lay.h>
|
||||
|
||||
|
|
@ -403,3 +401,5 @@ bool EditPDBExpression(const char *title, String& brk, Pdb *pdb)
|
|||
brk = ~dlg.text;
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -420,3 +420,5 @@ struct Pdb : Debugger, ParentCtrl {
|
|||
|
||||
void LoadGlobals(DWORD64 base);
|
||||
};
|
||||
|
||||
bool EditPDBExpression(const char *title, String& brk, Pdb *pdb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue