• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Self compiled gdb doesn't work with Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Self compiled gdb doesn't work with Xcode


  • Subject: Re: Self compiled gdb doesn't work with Xcode
  • From: "Mike Garey" <email@hidden>
  • Date: Mon, 13 Sep 2004 14:14:32 -0400

I'm using Xcode 1.5. I just grabbed the source for gdb-330.1, so I'll give it a try. Also wanted to know something else, when I try to compile the macsbug plugin, I get all sorts of errors because it can't find the header files (which are located in gdb-330.1/src, while the plugin directory is in gdb-330.1/macsbug). I fixed this last time by modifying the makefile and adding the relative paths to the include directories, but I'd like to know if there's an easier way, since I'm sure I'm just missing something pretty obvious here. Thanks,

Mike


From: Kevin Van Vechten <email@hidden>
To: "Mike Garey" <email@hidden>
CC: email@hidden
Subject: Re: Self compiled gdb doesn't work with Xcode
Date: Sun, 12 Sep 2004 16:45:44 -0700

What version of Xcode are you working with? gdb-356 is the version that is available from the WWDC Tiger seed. You might have better luck building the version of gdb that corresponds to the version of Xcode that your are using. For example, gdb-330.1 corresponds to Xcode 1.5.

- Kevin

On Sep 12, 2004, at 3:25 PM, Mike Garey wrote:

I downloaded a copy of the gdb source from:

http://www.opensource.apple.com/darwinsource/tarballs/other/gdb -356.tar.gz

and compiled it myself, however, I've been unable to use it successfully from within Xcode. I simply replaced the copy of gdb from /usr/bin/gdb with the newly compiled version, and Xcode is able to launch the new gdb, but any breakpoints I set are never hit. I realize that the version of gdb which I was previously using (the one that ships with Panther), actually had a shell script in /usr/bin/gdb, while the newly compiled version does not. The version of this new gdb is: "GNU gdb 2004-03-03-cvs".

If anyone has any advice on how to get this to work correctly with Xcode, please let me know. And also, is this the newest version of gdb available? I tried obtaining the cvs source from ":pserver:email@hidden:/cvs/root", but it was older than the one available from the web site. Thanks in advance,

Mike


_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Self compiled gdb doesn't work with Xcode
      • From: Kevin Van Vechten <email@hidden>
  • Prev by Date: Re: Rép : Using dead notification with mach ports
  • Next by Date: Re: Rép : Using dead notification with mach ports
  • Previous by thread: Re: Self compiled gdb doesn't work with Xcode
  • Next by thread: Re: Self compiled gdb doesn't work with Xcode
  • Index(es):
    • Date
    • Thread