From: Russell Shaw <rjshaw@netspace.net.au>
Cc: ddd@gnu.org, "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: DDD
Date: Thu, 12 Mar 2015 14:13:00 -0000 [thread overview]
Message-ID: <55019F20.6010706@netspace.net.au> (raw)
In-Reply-To: <CALeOzZ_Zk1hfMbkC37qLe7fDHxkie2w33f=RuvW_YU6u8WPXXw@mail.gmail.com>
On 12/03/15 20:02, Shahbaz Youssefi wrote:
> Do you have optimization enabled when you compile your code?
No. I always compile with CFLAGS="-g -O0"
> On Wed, Mar 11, 2015 at 3:24 PM, Russell Shaw <rjshaw@netspace.net.au
> <mailto:rjshaw@netspace.net.au>> wrote:
>
> Hi,
> When i set a breakpoint at "main", it appears half way between the first and
> second line:
>
> int main(int argc, char *argv[])
> {
> int ret = EXIT_SUCCESS;
> <-- red dot
> ...
>
> Is there any fix for that?
>
> I tried recompiling, so the source is not out of sync with the binary.
next prev parent reply other threads:[~2015-03-12 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 14:24 DDD Russell Shaw
2015-03-11 16:23 ` DDD vose
[not found] ` <CALeOzZ_Zk1hfMbkC37qLe7fDHxkie2w33f=RuvW_YU6u8WPXXw@mail.gmail.com>
2015-03-12 14:13 ` Russell Shaw [this message]
[not found] ` <55011D85.8070700@uns.ac.rs>
[not found] ` <CAKw9LJnXeee=KQDWZBfNG7hqF05isNJr3ZR_yHrui9-OT9QAcQ@mail.gmail.com>
2015-03-14 11:38 ` DDD Russell Shaw
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=55019F20.6010706@netspace.net.au \
--to=rjshaw@netspace.net.au \
--cc=ddd@gnu.org \
--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