lol, the command I found most useful in gdb is 'where'.
$gdb ./a.out (gdb)run <insert core dump stuff here> (gdb)where prolly becoz my code core dumps a lot, but that's not the point >_< yiz
O Plameras had suggested gdb in previous post these easy to follow steps: 1. Compile as cc -g factorial.c -o factorial ( I learned -g is required to run gdb). 2. Run gdb ./factorial 3. (gdb)break main 4. (gdb)r 5. (gdb)s (I did several times and bt each time) 6. (gdb)quit (when done) Did different combinations, too. Very, very cool. Learned lots. Beav
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
