<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="">Last I checked, GDB is pretty much broken on macOS because it frequently hangs when launching processes. However, it did a decent job of reading in debugging symbols in the rare cases where it did work.<div class=""><br class=""></div><div class="">Regards,<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Saagar Jha</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 17, 2019, at 00:57, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com" class="">rjvbertin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">How appropriate is the note attached to port:binutils nowadays?<br class=""><br class="">I installed it recently to test GNU ar in combination with software that tries to use MRI scripts to generate and modify static libraries. A priori every command is prefixed and I haven't noticed any problems with other ports ... yet.<br class="">If there are known problems with certain components, why not put installation of those in a variant? /methinks that it can't hurt to have "standard" versions of utilities like ar...<br class=""><br class="">The port does conflict with port:gdb, something I had already observed in my Linux adaptations of the two, something I solved in port:gdb with a somewhat hard-handed<br class=""><br class="">{{{<br class=""> # we install a certain number of files also installed by port:binutils.<br class=""> # Avoid existential problems: delete our copy and require binutils so<br class=""> # everything is complete.<br class=""> depends_run-append \<br class=""> port:binutils<br class=""><br class="">post-destroot {<br class=""> # remove items already installed by port:binutils<br class=""> file delete -force ${destroot}${prefix}/share/locale<br class=""> file delete -force ${destroot}${prefix}/share/info/<a href="http://bfd.info" class="">bfd.info</a><br class=""> file delete -force ${destroot}${prefix}/lib/<a href="http://libopcodes.la" class="">libopcodes.la</a><br class=""> file delete -force ${destroot}${prefix}/lib/libopcodes.a<br class=""> file delete -force ${destroot}${prefix}/lib/<a href="http://libbfd.la" class="">libbfd.la</a><br class=""> file delete -force ${destroot}${prefix}/lib/libbfd.a<br class=""> file delete -force {*}[glob -directory ${destroot}${prefix}/include/ *.h]<br class="">}<br class="">}}}<br class=""><br class="">I haven't (yet) checked this on Mac because my experience with gdb (v7) is that it only works with very simple software and won't detect symbols from libraries (if they don't have the corresponding .dSYM resource installed maybe). Has that improved?<br class=""><br class="">R.<br class=""></div></div></blockquote></div><br class=""></div></body></html>