This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Building on Darwin
- From: Tristan Gingold <gingold at adacore dot com>
- To: Marty McGowan <mcgowan at alum dot mit dot edu>
- Cc: gdb at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Tue, 21 Jun 2011 09:36:49 +0200
- Subject: Re: Building on Darwin
- References: <4E000397.6030601@alum.mit.edu> <20110621042025.GD26656@adacore.com>
On Jun 21, 2011, at 6:20 AM, Joel Brobecker wrote:
>> (gdb) run
>> Starting program: /Volumes/MM110605/src/eec/cummings
>> Unable to find Mach task port for process-id 95355: (os/kern) failure (0x5).
>> (please check gdb is codesigned - see taskgated(8))
>
> You either have to codesign gdb (see taskgated(8)), or another option
> is to change gdb's permissions using 'chgrp procmod' + 'chmod g+s'.
Also, read:
http://sourceware.org/gdb/wiki/BuildingOnDarwin