Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 26 Mar 2009, at 11:26, Rohitash Panda wrote: gcc -gdwarf-2 -o myapp ... dsymutil myapp Jonas _______________________________________________ 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... I am seeing issues with gdb not able to map/recognize some variable types, even after I have compiled the C file in debug mode . I followed the tips mentioned in the below url http://developer.apple.com/releasenotes/developertools/RN-GDB/index.html#/ /apple_ref/doc/uid/TP40001008-DontLinkElementID_7 I "|set read-type-psyms 1" in my .gdbinit file and recompiled the C file with -gfull -ggdb . But it still *doesn't* work . Is this some gdb bug ? $ gdb -version GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007) |Is there any other way to make it work ? Try compiling (everything) with dwarf instead, and make sure to run dsymutil afterwards: This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe