Am 04.10.2009 11:46, schrieb imacarthur:
>
> On 2 Oct 2009, at 22:23, Edzard Egberts wrote:
> As I understand it, you are running Eclipse on linux to cross-compile
> win32 executables using the mingw tools, and are then trying to debug
> them from within that instance of Eclipse.
> That's not a configuration I've used. I assume it is possible, but...

Yes, I'm also assuming it might be possible, but the questions remains 
"Why not?".

>> I'm sure it is executable, because it starts by double click or
>
> Double clink in the file manager causes the code to run? Presumably in
> an instance of Wine, I assume?

I'm using "Nautilus" and when clicking on this file it is automatically 
marked for "Open with wine windows starter". Furthermore they are inside 
of wine "windows" filestructure on directory "c:\". Starting 
windows-software using Linux filessystem often fails. This way seems to 
me that ".wine/drive_c" is systemdisk of wine Windows.

> That looks like Eclipse is having a bad day - I wonder if the setup to
> run gdb.exe under Wine is failing in some way?

I'm wondering about file ".gdbinit" but there is no gdbinit to find 
inside of filesystem, of Windows and even google doesn't tell me much 
about necessary options. It seems to me, that the file normally is not 
in use.

> Don't know. I usually just debug my mingw code with gdb at the command
> line, so have never tried to do what you are doing from within Eclipse.

I tried to debug from command line and there is a problem. To be sure 
about type of debugged file, I used a native Windows debug file.

[...@entwicklung Prg]$ ~/.wine/drive_c/MinGW/bin/gdb.exe ./tt_Server.exe
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) Exception condition detected on fd 0
error detected on stdin

It seems to be possible, that Eclipse problem results out of gdb 
problem. I had this kind of problem before, when trying to run msys, 
thats odd, because I failed to run msys terminal.

> Google?

Yes and there is an Eclipse newsgroup, I can bother. ;o)
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to