xcxdb problems with Xcode 3.2.6 and SnowLeopard

78 views
Skip to first unread message

SteveG

unread,
Nov 12, 2012, 2:56:09 PM11/12/12
to cocotr...@googlegroups.com
I'm having trouble using xcxdb debug my exe using the Xcode debugger.

I have downloaded the xcxdb-Installation tools and run the install-xcxdb.sh script with no reported errors.
I have updated the retargetBundle.m file to automatic generation of the xcxdb files. The files are being generated.
However, each time I try to compile and debug my exe, the Xcode console reports the following:

[Session started at 2012-11-12 12:23:35 -0700.]

GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "x86_64-apple-darwin".Loading program into debugger…

sharedlibrary apply-load-rules all

run

Running…

No executable file specified.

Use the "file" or "exec-file" command.

No executable file specified.

Use the "file" or "exec-file" command.

The program being debugged is not being run.

The program being debugged is not being run.


Is there another build setting that I am forgetting to change?

Thanks,

Steve 

Tim Schmielau

unread,
Nov 13, 2012, 3:36:45 AM11/13/12
to cocotr...@googlegroups.com
On Monday, November 12, 2012 7:56:09 PM UTC, SteveG wrote:

I have downloaded the xcxdb-Installation tools and run the install-xcxdb.sh script with no reported errors.


You've already gotten much further than I have. Where have you downloaded xcxdb from?
I've resorted to manual remote debugging because I could not find it online anymore.

Thanks,
Tim

SteveG

unread,
Nov 13, 2012, 1:12:31 PM11/13/12
to cocotr...@googlegroups.com
I orginally got the files from this link - http://cocotron-dev.googlegroups.com/web/xcxdb-Installation.tar.gz

The mod date on the install-xcxdb.sh file is 10/2/08.

Steve 

Tim Schmielau

unread,
Nov 19, 2012, 6:02:06 PM11/19/12
to cocotr...@googlegroups.com
On Tuesday, November 13, 2012 6:12:32 PM UTC, SteveG wrote:
I orginally got the files from this link - http://cocotron-dev.googlegroups.com/web/xcxdb-Installation.tar.gz

The mod date on the install-xcxdb.sh file is 10/2/08.

Steve 

I'm on 10.6.8 and Xcode 3.2.6 as well. If someone re-uploads the file (or post where it could still be found) I'll certainly try it out myself.
OTOH I might upgrade soon as Xcode 3.2.6's buggy debugger is no fun to work with.

Tim

Tim Schmielau

unread,
Dec 22, 2012, 7:24:40 PM12/22/12
to cocotr...@googlegroups.com
I finally found a copy at http://projectswithlove.com/projects/xcxdb-Installation.zip

Since I had built a working gdbserver already I've not run install-xcxdb.sh, but just used what I had. With that, I can now build the template project, copy it onver to the Windows machine, start gdbserver there and then start up the executable on the Windows machine by pressing the "Build and Debug" button in Xcode.

The "only" missing bit is that the executable is not under control of Xcode. So for now I'm continuing with remote debugging without Xcode from the console.

Comparing my screen output with yours, it appears to me that in your case the wrong debugger gets started (the Apple one, instead of the newly built gdb with remote debugging capability). For me the output in case of a failed startup reads (in case of a successful startup, this output seems to get inhibited):

[Session started at 2012-12-23 00:09:03 +0000.]
GNU gdb (GDB) 6.8.50.20081001 (xcxdb-37 for cocotron)
Copyright (C) 2008 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 "--host=i386-apple-darwin10.8.0 --target=i386-mingw32msvc".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Loading program into debugger…

Hope this helps
Tim
Reply all
Reply to author
Forward
0 new messages