Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Tristan Gingold <gingold@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: status of Darwin support
Date: Tue, 11 Aug 2009 07:14:00 -0000	[thread overview]
Message-ID: <8ac60eac0908110013s220f0185gdf18d4b448709d41@mail.gmail.com> (raw)
In-Reply-To: <8505B86C-9270-46E3-B5E2-5FAFD43A6C98@adacore.com>

On Mon, Aug 10, 2009 at 11:59 PM, Tristan Gingold<gingold@adacore.com> wrote:

>> This even if I make GDB suid-root (I also tried setgid procmod):
>> ls -l ../gdb
>> -rwsr-sr-x  1 root  wheel  4075816 Aug 10 20:21 ../gdb
>
> IIRC root/wheel doesn't work.  You need setgid procmod only.

As I said, I did try that; no dice:

ls -l ../gdb
-rwxr-sr-x  1 ppluzhnikov  procmod  4075816 Aug 10 20:21 ../gdb

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


> Which version of MacOS-X are you using ?

uname -a
Darwin ppluzhnikov-macbookpro.local 9.7.0 Darwin Kernel Version 9.7.0:
Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386

"About this Mac" says:
System Version:	Mac OS X 10.5.7 (9J61)
Kernel Version:	Darwin 9.7.0

>> Error 5 is EIO in /usr/include/sys/errno.h
>
> Except this is not a unix error number but a Mach one :-)

I see. /usr/include/mach/kern_return.h says:

#define KERN_FAILURE                    5
                /* The function could not be performed.  A catch-all.
                 */

Not much help I am afraid :-(

-- 
Paul Pluzhnikov


  reply	other threads:[~2009-08-11  7:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 20:29 Christian Thalinger
2009-08-04 16:52 ` Tom Tromey
2009-08-04 21:03   ` Thiago Jung Bauermann
2009-08-05  4:45     ` Joel Brobecker
2009-08-06 11:14       ` Christian Thalinger
2009-08-06 11:17         ` Jonas Maebe
2009-08-10  9:41         ` Tristan Gingold
2009-08-10 10:47           ` Christian Thalinger
2009-08-10 18:36             ` Tom Tromey
2009-08-10 20:20               ` Paul Pluzhnikov
2009-08-11  5:06                 ` Paul Pluzhnikov
2009-08-11  6:59                   ` Tristan Gingold
2009-08-11  7:14                     ` Paul Pluzhnikov [this message]
2009-08-11  7:43                       ` Tristan Gingold
2009-08-11  8:20                       ` Christian Thalinger
2009-08-11  8:28                 ` Christian Thalinger
2009-08-11 16:33                   ` Paul Pluzhnikov
2009-08-11 16:43                     ` Christian Thalinger
2009-08-11 16:48                       ` Paul Pluzhnikov
2009-08-11 16:49                       ` Christian Thalinger
2009-08-11 17:12                         ` Paul Pluzhnikov
2009-08-11 17:25                           ` Christian Thalinger
2009-08-11 17:38                             ` Paul Pluzhnikov
2009-08-11 17:54                               ` Christian Thalinger
2009-08-12 16:26                               ` Paul Pluzhnikov
2009-08-12 16:45                                 ` Christian Thalinger
2009-08-26  0:18                   ` [patch] [new testcase] Regression on qsort_cmp [Re: status of Darwin support] Jan Kratochvil
2009-09-08  9:31                     ` Tristan Gingold
2009-09-08 13:04                       ` Jack Howarth
2009-08-06 10:51     ` status of Darwin support Christian Thalinger

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=8ac60eac0908110013s220f0185gdf18d4b448709d41@mail.gmail.com \
    --to=ppluzhnikov@google.com \
    --cc=gdb@sourceware.org \
    --cc=gingold@adacore.com \
    /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