Reputation: 61
Hi I am new to GDB. I used the "set logging on" command. It creates a default file "gdb.txt" to store the output. However, I am unable to locate the file and see the data. Can you please tell me where the file is located?
Upvotes: 6
Views: 8041
Reputation: 11
the gdb.txt file will not be created in pwd always. It has to be explicitly specified by executing command 'set logging on' in gdb terminal.
Upvotes: 1
Reputation: 213829
In the current working directory. Try pwd
command at the (gdb)
prompt.
Upvotes: 6