tames
tames

Reputation: 3479

Can I capture screen data to a file with gdb version 6.3.50?

I would like to be able to capture the output of a user-defined command to a file. Is there a way to turn screen-logging on and off from within gdb?

Upvotes: 0

Views: 232

Answers (1)

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84159

(gdb) set logging on

See "2.4 Logging output" in GDB manual.

Upvotes: 1

Related Questions