GDB: Setting breakpoint on a class's member function in a file
Code:
anisha@linux-dopx:~> gdb -v Code:
(gdb) b breakpoints.cpp:X::X() Code:
#include <stdio.h> What's the point that I am missing? Is this a GDB version problem? |
Quote:
OR b main.cpp:9 Quote:
|
I know that SigTerm, but in this case I "have to"
specify the file name. Look here: http://www.ofb.net/gnu/gdb/gdb_29.html#SEC29 |
Code:
(gdb) help break |
Quote:
Code:
(gdb) break 1.cpp:main |
List the version of GDB you have SigTerm,
StackOverflow people say, that this runs only version 7.3, not even on 7.2! |
All times are GMT -5. The time now is 08:21 PM. |