From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52794 invoked by alias); 12 Oct 2015 13:20:45 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 52597 invoked by uid 89); 12 Oct 2015 13:20:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 12 Oct 2015 13:20:42 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 9E51033BF0B; Mon, 12 Oct 2015 13:20:40 +0000 (UTC) Date: Mon, 12 Oct 2015 13:20:00 -0000 From: Mike Frysinger To: Nancy Cc: gdb@sourceware.org Subject: Re: Is that a GDB bug? Message-ID: <20151012132040.GA28674@vapier.lan> Mail-Followup-To: Nancy , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00053.txt.bz2 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 203 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 --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWG7OjAAoJEEFjO5/oN/WBoEQQAJN4uHSgs5BSXUVrHRGxhq9Y PYGh8p/38BZNQPRQYWoNgWb4+xuQVNOhXwKafLdPT9jPSWOXp9opickStwa1H8Tw KtXR/TG6YMVMcNVUdra3cJagNZod13mOZEG+JquE9SXm15oKKAoVjGqXr66qqiT/ DzbU7ASYnHkSE9lJnCrgAvRMCbcjnnbB57vNW+kMjsAQEl/upYRnOhT2o9C8Gr0B 2shAtYyWBcSYC4zjTVOVMDsJpEBy/yt4VMXs70wECE0UHtVjj7MRuYVyq+aIww9r G1FJC7GEQlcqIZQZXmEE6l2LOcR6QAA9AzlnyHnrTaAz2iwYR4GJlY/0ewxc7/d1 qmzyiMoO1QSUyOX+62w4dXVfOZwehtv4KQrX3Tv5bSUvBTAq2Z+uYoCtOLNu8Ecq 4qv7xRmEwORiJzPjneVZ4W82OIc6GAta4ePEKhmgBAtbBjXZsxIaW3xlMwW8Nr5j 80v6rz5oBsAoxWS3Jt/1SyceNPNcMtjjgZrVEHMfeDLypAvCWkgO0OynR8slIZZ7 /xrQNluQgmKmOw9kyZ25uRB9VF9gyYS7xiRApFSrdGffTemWDCTXWYTmUhQQV44h /xncIbjIqAWV9CcJDKPff0izuxyjm8F/Qj1y1aaRdjmv59bUplUxNH0JV+9v6rw/ VS4vrQcc0D85waauhupc =km61 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--