This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: break on a external source file


Daniel Jacobowitz wrote:
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.


Hi,


Are these patches already committed?

BR,

Claus



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]