This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gdb-7.0] One week to the gdb-7.0 release!
On Wed, Sep 30, 2009 at 10:08:41AM -0700, Paul Pluzhnikov wrote:
> On Wed, Sep 30, 2009 at 9:29 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>
> > I believe that you are using Snow Leopard whereas things to be OK
> > on Leopard.?The problem on Snow Leopard seems to be coming from
> > the fact that the method for giving GDB the priviledges it needs
> > in order to debug the program have changed. ?AdaCore is planning on
> > looking at that, eventually, but we just won't have the resources
> > to do so for at least a few weeks.
>
> Clarification: the "new method" (code signing?) is required on newer
> (latest?) releases of Leopard as well: I have *not* upgraded to Snow Leopard,
> but I still see the problem.
>
> --
> Paul Pluzhnikov
Paul,
I assume 10.5.8 and Snow Leopard share the same problem. I used to
see the error...
Unable to find Mach task port for process-id 39624: (os/kern) failure (0x5).
(please check gdb is setgid procmod)
Now in gdb trunk, with the proposed darwin patch, I don't even get that
far. When passing an executable to gdb, it complains that the binary isn't
a valid executable. Is that what you are seeing under 10.5.8?
Jack
ps Actually I would have thought this issue requiring signing of gdb
would have been coupled more to a new Xcode release than to a new
Mac OS X release.