Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
- Subject: Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
- From: Jonas Maebe <email@hidden>
- Date: Thu, 26 Mar 2009 11:35:36 +0100
On 26 Mar 2009, at 11:26, Rohitash Panda wrote:
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:
gcc -gdwarf-2 -o myapp ...
dsymutil myapp
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden