<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The notes for gd<span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">8.0.1_0</span>I  say that I have to codesign<span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class=""> /opt/local/bin/ggdb.</span><div class=""> They refer to...</div><div class=""><br class=""></div><div class="">   <a href="https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes" class="">https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes</a></div><div class=""><br class=""></div><div class="">..for the procedure, which I followed for steps 2.1.1 (create a certificate in the System keychain) and 2.1.2 (refresh the system’s certificates and code-signing data).</div><div class=""><br class=""></div><div class="">I’m now at step 2.1.3, which says to use...</div><div class=""><br class=""></div><div class="">   <span style="font-family: courier, monospace; font-size: 16px; white-space: pre-wrap; background-color: rgb(243, 245, 247);" class="">$ codesign -s gdb-cert gdb</span></div><div class=""><br class=""></div><div class="">…and to specify the full path to the gdb binary. I have two issues:</div><div class=""><br class=""></div><div class="">(1) So far as I can see, there’s no binary named gdb; there is the binary ggdb. Is that the name I should be using, with its path <span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">/opt/local/bin/ggdb</span>?</div><div class=""><br class=""></div><div class="">(2) If I do execute…</div><div class=""><br class=""></div><div class="">    <span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">sudo codesign -s gdb-cert /opt/local/bin/ggdb</span>   </div><div class=""><br class=""></div><div class="">… then I get a pop-up window 'code sign wants to use the “System” keychain. Please enter the keychain password.’</div><div class=""><br class=""></div><div class="">But I don’t know the System keychain’s password. (My account is an admin account, but the account password is not the System keychain password.)</div><div class=""><br class=""></div><div class="">How should I proceed?</div><div class=""><br class=""></div><div class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>

<br class=""></div></div></body></html>