Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Jim Blandy" <jimb@red-bean.com>
To: "Erming Pei" <epei@cppm.in2p3.fr>
Cc: choo@actcom.co.il, bug-gdb@gnu.org, mato@nz.eds.com,
	 	mcelrath@draal.physics.wisc.edu, gdb@sourceware.org
Subject: Re: Why GDB always jumps in and jumps out and seems uncontrollable?
Date: Thu, 23 Mar 2006 19:17:00 -0000	[thread overview]
Message-ID: <8f2776cb0603231046j3f6737eeveefc895c6671e8cf@mail.gmail.com> (raw)
In-Reply-To: <4422EBAB.90806@cppm.in2p3.fr>

Try compiling your program without optimization, and then debugging that.

Inlining and instruction scheduling can make it hard to correlate the
behavior of the compiled program with that of the source program.


      reply	other threads:[~2006-03-23 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-23 18:50 Erming Pei
2006-03-23 19:17 ` Jim Blandy [this message]

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=8f2776cb0603231046j3f6737eeveefc895c6671e8cf@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=bug-gdb@gnu.org \
    --cc=choo@actcom.co.il \
    --cc=epei@cppm.in2p3.fr \
    --cc=gdb@sourceware.org \
    --cc=mato@nz.eds.com \
    --cc=mcelrath@draal.physics.wisc.edu \
    /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