Ethereal-dev: Re: [han.holl@xxxxxxxxxxx: Re: [ethereal-dev] Ethereal segfault]

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 6 Mar 2000 10:23:03 -0800
> What the README does _not_ say, unfortunately, is how one should divert
> the gdb output to a file. Gdb documentation really is a nightmare.

...as is GDB's ability - or, rather, lack of same - to redirect
individual commands' output.

The way I generally do it is to pipe the output of GDB to "tee", and
have "tee" write to the file.