This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross debugger

Hi All,

I'm trying to debug a binary I made using the x86_64-w64-mingw32 cross
compiler toolchain hosted on Cygwin.  To that end I've attempted to
create an x86_64-w64-mingw32 cross debugger by specifying
'--target=x86_64-w64-mingw32' when configuring gdb 7.2.  It worked in
that a gdb.exe and gdbtui.exe were created (thought there was no
gdbserver.exe created).  I was off to a great start, in that this
cross debugger was able to load the 64-bit binary, find the symbols
and I was even able to set break points.  I then tried to start the
executable and that's where I hit the wall.  I couldn't get gdb to run
the executable:

(gdb) start
Temporary breakpoint 2 at 0x40f2e0: file
line 17.
Starting program: /usr/src/emerge/experimental/Source/bin64/emergeLauncher.exe
Don't know how to run.  Try "help target".

I'm running this on a 64-bit Win7 machine, so I would assume it should
know how to run it.  Did I miss something when creating this cross

Thank you,


Chris Sutcliffe

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]