Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb on darwin solved!
@ 2010-04-04 21:41 Jack Howarth
  2010-04-04 21:48 ` Joel Brobecker
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Howarth @ 2010-04-04 21:41 UTC (permalink / raw)
  To: gdb

  It turns out that the solution to running
FSF gdb on darwin9.8.0 or darwin10 is trivial.
There is a gap in the codesigning for gdb
apparently. The user just has to do...

chgrp procmod fsf-gdb
chmod g+s fsf-gdb

on the installed FSF gdb binary. This
will gain it access to the required Mach
port without having to resort to sudo.
Nice.
                    Jack


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb on darwin solved!
  2010-04-04 21:41 gdb on darwin solved! Jack Howarth
@ 2010-04-04 21:48 ` Joel Brobecker
  2010-04-06  8:05   ` Tristan Gingold
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2010-04-04 21:48 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gdb

(just got back from a trip - I'd have answered earlier)

> chgrp procmod fsf-gdb
> chmod g+s fsf-gdb

More info at: http://sourceware.org/gdb/wiki/BuildingOnDarwin

If you find it worthwhile, you might want to expand a bit the short
paragraph that talks about setgid procmod/procview by providing
the exact set of commands (we've been using it for quite some time,
now).

-- 
Joel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb on darwin solved!
  2010-04-04 21:48 ` Joel Brobecker
@ 2010-04-06  8:05   ` Tristan Gingold
  2010-04-06 18:56     ` Jim Ingham
  0 siblings, 1 reply; 4+ messages in thread
From: Tristan Gingold @ 2010-04-06  8:05 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gdb, Joel Brobecker


On Apr 4, 2010, at 11:47 PM, Joel Brobecker wrote:

> (just got back from a trip - I'd have answered earlier)
> 
>> chgrp procmod fsf-gdb
>> chmod g+s fsf-gdb
> 
> More info at: http://sourceware.org/gdb/wiki/BuildingOnDarwin
> 
> If you find it worthwhile, you might want to expand a bit the short
> paragraph that talks about setgid procmod/procview by providing
> the exact set of commands (we've been using it for quite some time,
> now).

Jack,
do not hesitate to expand the wiki page.

We have used both methods and both have their pros and cons.

Tristan.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb on darwin solved!
  2010-04-06  8:05   ` Tristan Gingold
@ 2010-04-06 18:56     ` Jim Ingham
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Ingham @ 2010-04-06 18:56 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gdb, Joel Brobecker, Tristan Gingold

Note that the "procmod" method is deprecated by the security folks.  They haven't removed it yet, but they threaten to...  The code-signing is the preferred method.  Not sure why it isn't working for you, however. 

Jim

On Apr 6, 2010, at 1:05 AM, Tristan Gingold wrote:

> 
> On Apr 4, 2010, at 11:47 PM, Joel Brobecker wrote:
> 
>> (just got back from a trip - I'd have answered earlier)
>> 
>>> chgrp procmod fsf-gdb
>>> chmod g+s fsf-gdb
>> 
>> More info at: http://sourceware.org/gdb/wiki/BuildingOnDarwin
>> 
>> If you find it worthwhile, you might want to expand a bit the short
>> paragraph that talks about setgid procmod/procview by providing
>> the exact set of commands (we've been using it for quite some time,
>> now).
> 
> Jack,
> do not hesitate to expand the wiki page.
> 
> We have used both methods and both have their pros and cons.
> 
> Tristan.
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-06 18:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-04 21:41 gdb on darwin solved! Jack Howarth
2010-04-04 21:48 ` Joel Brobecker
2010-04-06  8:05   ` Tristan Gingold
2010-04-06 18:56     ` Jim Ingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox