Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Jack Howarth <howarth@bromo.med.uc.edu>
Cc: Joel Brobecker <brobecker@adacore.com>,
	        Anirban Sinha <ASinha@zeugmasystems.com>,
	gdb@sourceware.org
Subject: Re: [gdb-7.0] One week to the gdb-7.0 release!
Date: Wed, 30 Sep 2009 17:42:00 -0000	[thread overview]
Message-ID: <8ac60eac0909301042j566e5f32n7268e7b006b40c32@mail.gmail.com> (raw)
In-Reply-To: <20090930173104.GA7773@bromo.med.uc.edu>

On Wed, Sep 30, 2009 at 10:31 AM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:

> I assume 10.5.8 and Snow Leopard share the same problem. I used to
> see the error...

Quite possible. I don't have Snow Leopard, so I don't know what happens
there.

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

Yes, that is exactly the error I see on Leopard (unless I run gdb as root).

> 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?

I don't normally do any development on MacOS -- I only got dragged into it
because my patch broke it :-(

I have not tested the latest trunk, nor 7.0 branch, after I've "fixed"
the find_pc_section breakage. I will try trunk tonight, just to confirm that
I can replicate what you see (and maybe fix it if I manage to understand
what's happening).

> 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.

Why would you think that?

The kernel denies GDB access to debug port; I don't see what this would
have to do with Xcode.

Cheers,
-- 
Paul Pluzhnikov


  reply	other threads:[~2009-09-30 17:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 22:09 Joel Brobecker
2009-09-29 23:17 ` Anirban Sinha
2009-09-30  0:13   ` Joel Brobecker
2009-09-30  0:44     ` Anirban Sinha
2009-09-30 16:20       ` Jack Howarth
2009-09-30 16:30         ` Joel Brobecker
2009-09-30 16:59           ` Jack Howarth
2009-09-30 17:08           ` Paul Pluzhnikov
2009-09-30 17:31             ` Jack Howarth
2009-09-30 17:42               ` Paul Pluzhnikov [this message]
2009-09-30 17:45                 ` Jack Howarth
2009-09-30 17:34             ` Joel Brobecker
2009-10-01 11:29         ` gdb seems to be broken on darwin 10.5.8 and later Jonas Maebe
2009-10-02  1:53           ` Jack Howarth
2009-10-02 15:40             ` Joel Brobecker
2009-10-02 16:12               ` Jack Howarth
2009-10-02 16:20                 ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ac60eac0909301042j566e5f32n7268e7b006b40c32@mail.gmail.com \
    --to=ppluzhnikov@google.com \
    --cc=ASinha@zeugmasystems.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=howarth@bromo.med.uc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox