Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Nancy <nancydreaming@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Is that a GDB bug?
Date: Mon, 12 Oct 2015 13:20:00 -0000	[thread overview]
Message-ID: <20151012132040.GA28674@vapier.lan> (raw)
In-Reply-To: <CADdyJmk-gKUVEUYRwqmXPknUL8QiT=x+J6ZA2BL8WjK1Nf+Z3A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

On 12 Oct 2015 20:46, Nancy wrote:
> Why line 5 execute twice?   Is that a GDB bug?

next operates on statements, not lines.  unwrap your code to be
readable (multiline) and it'll be more obvious.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-10-12 13:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12 12:46 Nancy
2015-10-12 13:20 ` Mike Frysinger [this message]
2015-10-12 13:32   ` Andreas Schwab
2015-10-12 16:39     ` Mike Frysinger
2015-10-12 16:56       ` Simon Marchi
2015-10-12 16:59       ` Andreas Schwab
2015-10-12 14:14 ` Pedro Alves

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=20151012132040.GA28674@vapier.lan \
    --to=vapier@gentoo.org \
    --cc=gdb@sourceware.org \
    --cc=nancydreaming@gmail.com \
    /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