Home » Developing U++ » Releasing U++ » mingw?
Re: mingw? [message #22153 is a reply to message #21939] |
Fri, 19 June 2009 22:44 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
One thing I did not know:
- TheIde compiled with MSC can debug MinGW and MSC
- TheIde compiled with MinGW can debug MinGW but hungs trying to debug MSC.
In the last case TheIde outputs an Exclamation window with "Error invoking gdb !", strange as I am trying to compile with MSC.
This is in the file gdb.cpp:
bool Gdb::Create(One<Host> _host, const String& exefile, const String& cmdline)
{
host = _host;
dbg = host->StartProcess("gdb " + GetHostPath(exefile));
if(!dbg) {
Exclamation("Error invoking gdb !");
return false;
}
Gdb::Create is called in the same file in:
One<Debugger> GdbCreate(One<Host> host, const String& exefile, const String& cmdline)
{
Gdb *dbg = new Gdb;
if(!dbg->Create(host, exefile, cmdline)) {
delete dbg;
return NULL;
}
return dbg;
}
And GdbCreate is called in file Debug.cpp in:
void Ide::BuildAndDebug(bool runto)
{
...
#ifdef COMPILER_MSC
debugger = builder == "GCC" ? GdbCreate(host, target, runarg) : PdbCreate(host, target, runarg);
#else
debugger = GdbCreate(host, target, runarg);
#endif
So it seems the code forces to use Gdb although the compiler used is MSC. This could be the problem.
Best regards
Koldo
Best regards
IƱaki
|
|
|
|
|
mingw?
By: mirek on Thu, 11 June 2009 19:32
|
|
|
Re: mingw?
By: cocob on Thu, 11 June 2009 23:11
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: mirek on Thu, 11 June 2009 23:43
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: koldo on Thu, 18 June 2009 16:01
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: koldo on Thu, 18 June 2009 23:08
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: tojocky on Fri, 19 June 2009 16:31
|
|
|
Re: mingw?
By: koldo on Fri, 19 June 2009 21:38
|
|
|
Re: mingw?
By: masu on Fri, 12 June 2009 10:49
|
|
|
Re: mingw?
By: koldo on Thu, 18 June 2009 16:32
|
|
|
Re: mingw?
By: koldo on Thu, 18 June 2009 17:17
|
|
|
Re: mingw?
By: koldo on Fri, 19 June 2009 21:44
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: koldo on Sat, 20 June 2009 00:36
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: koldo on Sun, 21 June 2009 15:35
|
|
|
Re: mingw?
By: tojocky on Tue, 23 June 2009 15:32
|
|
|
Re: mingw?
By: koldo on Tue, 23 June 2009 15:55
|
|
|
Re: mingw?
By: tojocky on Wed, 24 June 2009 14:19
|
|
|
Re: mingw?
By: koldo on Wed, 24 June 2009 16:08
|
|
|
Re: mingw?
By: koldo on Fri, 19 June 2009 22:44
|
|
|
Re: mingw?
By: koldo on Wed, 24 June 2009 11:32
|
|
|
Re: mingw?
By: ptDev on Wed, 24 June 2009 14:45
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: ptDev on Sun, 28 June 2009 09:50
|
|
|
Re: mingw?
By: koldo on Thu, 06 August 2009 09:57
|
|
|
Re: mingw?
By: Didier on Fri, 07 August 2009 21:36
|
|
|
Re: mingw?
|
|
|
Re: mingw?
By: Didier on Fri, 07 August 2009 23:54
|
|
|
Re: mingw?
By: kasome on Sat, 08 August 2009 14:12
|
|
|
Re: mingw?
By: mirek on Sat, 08 August 2009 14:19
|
Goto Forum:
Current Time: Thu May 09 06:56:47 CEST 2024
Total time taken to generate the page: 0.02433 seconds
|