From: Tristan Gingold <gingold@adacore.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb@sourceware.org
Subject: Re: status of Darwin support
Date: Tue, 11 Aug 2009 06:59:00 -0000 [thread overview]
Message-ID: <8505B86C-9270-46E3-B5E2-5FAFD43A6C98@adacore.com> (raw)
In-Reply-To: <8ac60eac0908102206l49972a96pfc306be0cf15d34b@mail.gmail.com>
On Aug 11, 2009, at 7:06 AM, Paul Pluzhnikov wrote:
> On Mon, Aug 10, 2009 at 1:20 PM, Paul Pluzhnikov<ppluzhnikov@google.com
> > wrote:
>
>> I will try to reproduce the Darwin failure, but I won't get to my Mac
>> until later tonight.
>
> I couldn't get GDB to even run the program:
>
> ../gdb ../a.out
> GNU gdb (GDB) 6.8.50.20090811-cvs
> ...
> (gdb) r
> Starting program: /Users/ppluzhnikov/gdb-cvs/build/gdb/a.out
> Unable to find Mach task port for process-id 98005: (os/kern)
> failure (0x5).
> (please check gdb is setgid procmod)
> (gdb) q
>
> 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.
Which version of MacOS-X are you using ?
> Error 5 is EIO in /usr/include/sys/errno.h
Except this is not a unix error number but a Mach one :-)
Tristan.
next prev parent reply other threads:[~2009-08-11 6:59 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 [this message]
2009-08-11 7:14 ` Paul Pluzhnikov
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=8505B86C-9270-46E3-B5E2-5FAFD43A6C98@adacore.com \
--to=gingold@adacore.com \
--cc=gdb@sourceware.org \
--cc=ppluzhnikov@google.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