
On 24 July 2012 00:07, Erik Christiansen <dvalin@internode.on.net> wrote:
On 23.07.12 23:26, Russell Coker wrote:
I have a multi-threaded program that has just SEGV'd. I want to extract a chunk of data from the program to run in a test program to try and reproduce the problem. .....
Try this link - https://developer.apple.com/library/mac/#documentation/developertools/gdb/gd... In particular try the dump from memory to a file section: https://developer.apple.com/library/mac/#documentation/developertools/gdb/gd...
I never did come across any comprehensive gdb documentation, so have just made do with fragments stitched together.
.... I agree that it's hard to find - but this apple site I found very helpful. Also the reference card is useful to quickly dig out that odd command you haven't used in a few years. http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CGUQFjAA... Sorry for the google tangled reference - not sure how to unwrap it. I think Apple use a few open source products and in turn provide support. e.g. cups and gdb documentation Andrew