Re: Is that a GDB bug?

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 819 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.