
On Mon, 23 Jul 2012, Rodney Brown <rdbrown@pacific.net.au> wrote:
(gdb) help set logging Set logging options
List of set logging subcommands:
set logging file -- Set the current logfile
Thanks for that suggestion, I'm currently playing with script(1) which does much the same thing. On Tue, 24 Jul 2012, Andrew Worsley <amworsley@gmail.com> wrote:
Try this link - https://developer.apple.com/library/mac/#documentation/developertools/gdb/g db/gdb_toc.html
In particular try the dump from memory to a file section: https://developer.apple.com/library/mac/#documentation/developertools/gdb/g db/gdb_9.html#SEC75
That's another good option. My initial problem was that I had an open gdb session and the core file which gdb created didn't seem to have the correct data. I've since closed that session and I'm working from kernel generated core files which seems to be more reliable. Thanks for the suggestions. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/