Home » Questions » Computers [ Ask a new question ]

How to dump memory to a file in gdb (osx)? Need to rescue my work

How to dump memory to a file in gdb (osx)? Need to rescue my work

I need to know how I can dump memory in Safari.app, to a file.

Asked by: Guest | Views: 271
Total answers/comments: 1
bert [Entry]

"You could always turn logging on in GDB set logging on

Then, everything you do is printed to the log file (usually gdb.txt). So you can just start printing memory using the x command, and everything will go to the log file as well as the screen."