site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Wed, Jul 8, 2009 at 20:42, Aron-Zvi<aronzvi@gmail.com> wrote:
I'm trying to debug gdb-966 downloaded from opensource.apple.com. I've made no changes whatsoever to the code - Just downloaded and built. I'm debugging ( or should I say stepping through...) in order to get a better understanding of how gdb works on OS X.
I've tried just as you've specified: As root: /usr/libexec/gdb/gdb-i386-apple-darwin --args path_to_freshly_built_gdb/gdb fooprogram
Out of sheer curiosity, can either /usr/libexec/gdb/gdb-i386-apple-darwin or path_to_freshly_built_gdb/gdb debug *themselves*? M. -- http://nevali.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com