This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

codesigning gdb on darwin?


   Has anyone managed to codesign a local build of
FSF gdb 7.1 on darwin9/10 using a local self-signed
certificate? In my attempt, I first created and trusted
a self-signed certificate in the KeyChain Access
application, created a Info.plist for the fsf-gdb
(built with a fsf- prefix) using the common name
from that self-signed certificate, built fsf-gdb
using -sectcreate __TEXT __info_plist ./gdb/Info.plist
added on LDFLAGS and then codesigned the installed
binary using the common name of the self signed
certificate. This doesn't provided access to the
required Mach port and 'codesign -d -r - /sw/bin/fsf-gdb'
shows...

Executable=/sw/bin/fsf-gdb
library => identifier "libz.1.2.3.dylib" and anchor apple or identifier "libSystem.B.dylib" and anchor apple
# designated => identifier "org.gnu.gdb" and certificate root = H"eee294eed062a327b66695ce2e283f03c31107da"

Has anyone tried this? Before I sign the fsf-gdb binary
'codesign -d -r' reports it as unsigned, but signing it
seems to silently default to org.gnu.gdb.
         Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]