break on a external source file
Daniel Jacobowitz
drow@false.org
Sat Sep 22 01:10:00 GMT 2007
On Sat, Sep 22, 2007 at 01:21:31AM +0300, costin_c wrote:
> How can I tell to gdb to put a breakpoint on a given line in C++
> source file, located in directory situated other than current one ?
You're doing it right. The problem doesn't have to do with that, but
with this:
> 4 Print::Print(int v)
> 5 {
> 6 val=v+v;
> 7 };
That's a constructor. This is a known bug in GDB, for which Vladimir
Prus has recently posted patches.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list