Getting gdb back to work with CodeWarrior Pro 9
Getting gdb back to work with CodeWarrior Pro 9
- Subject: Getting gdb back to work with CodeWarrior Pro 9
- From: Thomas Engelmeier <email@hidden>
- Date: Wed, 14 Mar 2007 14:55:08 +0100
Hi,
I have the unfortunate situation I need to debug some Mach-O plugins
written in C++ woth CodeWarrior 9.
Some of the updates of my PPC test machine (OS X 10.4.8, Xcode 2.4.1)
seems to cause that the gdb <-> CodeWarrior interface fails to set
breakpoints (which wasn't the case last year when I wrote the software).
Google points to messages pointing out Xcode updates caused the failure.
In order to troubleshoot I tried the following:
- use the current installed gdb from the commandline. My binary has
full STABS information embedded. Partially works (mangled, correct
backtraces. Absolute PITA)
- use gdb4xsym. Fails because it the gdb variant cannot find the xSym
for the plugin host app (which I will certainly never get)
- read up the /usr/bin/gdb script. from Xcode 2.3 the gdb script
seems to launch different binaries for CodeWarrior and Xcode
- extracted /usr/libexec/gdb-for-codewarrior from Xcode 2.3. Doesn't
help.
- extracted /usr/libexec/gdb-darwin-ppc from Xcode 2.2 and put a
hardlink to gdb-for-codewarrior. Doesn't help, either.
Any hint what else I could try is highly appreciated...
TIA,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden