[LLVMdev] dump a module from inside GDB to a file

Duncan Sands baldrick at free.fr
Sun Jun 26 04:01:48 PDT 2011


> The module is really big and i would like the dump to happen in a file instead
> of stdout. Is that possible?

Maybe you can tell gdb to direct stderr to a file, do the dump, then redirect
stderr to the usual place?

Ciao, Duncan.



More information about the llvm-dev mailing list