From: Claus Baumgartner <claus.baumgartner@netsonic.fi>
To: gdb@sourceware.org
Subject: Re: break on a external source file
Date: Sat, 22 Sep 2007 15:37:00 -0000 [thread overview]
Message-ID: <46F521CB.9030902@netsonic.fi> (raw)
In-Reply-To: <20070921223918.GA27875@caradoc.them.org>
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
next prev parent reply other threads:[~2007-09-22 14:08 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
2007-09-22 13:52 ` costin_c
2007-09-22 14:08 ` Daniel Jacobowitz
2007-09-22 15:37 ` Claus Baumgartner [this message]
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=46F521CB.9030902@netsonic.fi \
--to=claus.baumgartner@netsonic.fi \
--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