From: Daniel Jacobowitz <drow@false.org>
To: costin_c <costin.cosoveanu@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: break on a external source file
Date: Sat, 22 Sep 2007 01:10:00 -0000 [thread overview]
Message-ID: <20070921223918.GA27875@caradoc.them.org> (raw)
In-Reply-To: <dadde8860709211521p3a25b22do719acd23b463c4b7@mail.gmail.com>
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
next prev parent reply other threads:[~2007-09-21 22:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 22:39 costin_c
2007-09-22 1:10 ` Daniel Jacobowitz [this message]
2007-09-22 13:52 ` costin_c
2007-09-22 14:08 ` Daniel Jacobowitz
2007-09-22 15:37 ` Claus Baumgartner
2007-09-23 2:36 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070921223918.GA27875@caradoc.them.org \
--to=drow@false.org \
--cc=costin.cosoveanu@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox