Subject: making GDB do the right thing with arguments and locals...
To: None <port-alpha@NetBSD.ORG>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: port-alpha
Date: 04/19/1996 19:57:52
Well, after much hair-pulling, printf-adding, etc., I finally tracked
down the problem that was causing GDB to not work properly printing
function arguments, locals, etc. At least, it now appears to work.
Anyway:
gcc was improperly configured to generate the wrong kind of debugging
symbols.
Solution:
The next snapshot i kick out will fix the problem. in the mean time,
compile things you want to debug with '-g -ggdb'.
cgd