How to print to a file or pipe ??
Jesse Marlin
jlm@compgen.com
Thu Jul 27 06:37:00 GMT 2000
James Gunning writes:
> Hi people
> I'm new to this list, but I have searched unsuccessfully through
> the gdb info pages & archives for an answer to this question.
> How do I print gdb output to a file. Something like
> print a[1]@1000 > file.txt
> would be ace :-)
> Thanks,
> James Gunning.
>
>
>
If you run gdb from within xemacs or even emacs then printing is no problem.
Just highlight the region you are interested in and, M-x print-region.
More information about the Gdb
mailing list