• 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: GDB problems and version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB problems and version


  • Subject: Re: GDB problems and version
  • From: Christian Thalinger <email@hidden>
  • Date: Wed, 15 Jul 2009 17:52:09 +0200

Jonas Maebe wrote:
> On 15 Jul 2009, at 14:44, Christian Thalinger wrote:
>
>> I'm having a lot of problems with the GDB version shipped with Xcode.
>> Before I go into detail about the problems, let me ask this question:
>> are there any plans to update the GDB version from 6.3.50-20050815 to
>> something newer?
>
> That depends on which Apple version you have (it's between brackets
> behind the version that Apple forked). The latest Apple version is 966
> (see http://www.opensource.apple.com/release/developer-tools-313/ )

Yes, it's 966.

>
> Fairly recently, people from AdaCore have started adding Darwin/x86
> support to FSF's mainline gdb, so if you don't mind the experimental
> status of that support, you can also build and use FSF's GDB from CVS.
> It probably misses several of Apple's patches though.

How recent is "fairly"?  I built myself a GDB about 2 weeks ago (from
the GIT mirror):

$ gdb/gdb --version
GNU gdb (GDB) 6.8.50.20090626-cvs

And that version does not work.  It prints something like:

Unable to find Mach task port for process-id 93407: (os/kern) failure (0x5).
 (please check gdb is setgid procmod)

But maybe my build target is wrong:

This GDB was configured as "i386-apple-darwin9.7.0".

I will try a CVS version now.

-- Christian
 _______________________________________________
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

  • Follow-Ups:
    • Re: GDB problems and version
      • From: Jonas Maebe <email@hidden>
References: 
 >GDB problems and version (From: Christian Thalinger <email@hidden>)
 >Re: GDB problems and version (From: Jonas Maebe <email@hidden>)

  • Prev by Date: In-class initialization of integral static const variables & Linker errors
  • Next by Date: Re: GDB problems and version
  • Previous by thread: Re: GDB problems and version
  • Next by thread: Re: GDB problems and version
  • Index(es):
    • Date
    • Thread