Re: Self compiled gdb doesn't work with Xcode
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Mike From: Kevin Van Vechten <kevin@opendarwin.org> To: "Mike Garey" <random50k@hotmail.com> CC: darwin-dev@lists.apple.com Subject: Re: Self compiled gdb doesn't work with Xcode Date: Sun, 12 Sep 2004 16:45:44 -0700 - Kevin On Sep 12, 2004, at 3:25 PM, Mike Garey wrote: I downloaded a copy of the gdb source from: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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, 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. 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:anonymous@anoncvs.opensource.apple.com:/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=htt... Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Garey