This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb-7.0 on osx
Actually, that was the problem, but subtly so:
I had trusted it using the Keychain application running from my user
account. This somehow trusted it only for my user. Running the
Keychain app as root and trusting again resolved this issue.
However, it still does not find any symbols except in trivial test
cases.
Also, I have not yet managed to debug 32bit executables. I have tried
various build options (i386-apple-darwin10, i686-apple-darwin10) but
none seemed to work. It always complains that it cannot read mach-o-
i386 files.
Any ideas on this one?
Thanks!
Tobias
Am 08.10.2009 um 18:02 schrieb Tristan Gingold:
On Oct 8, 2009, at 5:57 PM, Tobias Hahn wrote:
Hi all,
I cannot get gdb-7.0 to debug my executables under 10.6. I have
built it using
$ ../gdb-7.0/configure --build=x86_64-apple-darwin10 CFLAGS="-g -O2
-Wno-format"
$ make
$ codesign -s gdb-sign gdb/gdb
(The certificate gdb-sign is in the System keychain and is valid
for codesigning.)
Is it also trusted ?
Tristan.
Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838
Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf
Vorsitzender des Aufsichtsrats: Uwe Struck