Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GDB logging file location

Tags:

gdb

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?

like image 944
indygal Avatar asked Feb 03 '11 16:02

indygal


1 Answers

In the current working directory. Try pwd command at the (gdb) prompt.

like image 157
Employed Russian Avatar answered Jan 03 '23 11:01

Employed Russian