gdb: problem while debug an executable file
I created one file (test.cpp)and complied it and get the executable file(test) and run it.It is giving the out put but when I am trying to debug that executable.I am getting the error --
Quote:
Thanks in advance ..... |
When you run the command from the command line, it automatically runs the executable. But in the command mode, you have to manually running the executable by giving the following command.
Quote:
|
have you used "-g" while compiling the .cpp file ?
|
All times are GMT -5. The time now is 03:46 AM. |