Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jason Luo <jasonl@turbolinux.com.cn>
Cc: gdb@sources.redhat.com
Subject: Re: What make the directive run twice?
Date: Thu, 03 Jun 2004 20:44:00 -0000	[thread overview]
Message-ID: <20040603204433.GA22683@nevyn.them.org> (raw)
In-Reply-To: <40BECE4F.7090002@turbolinux.com.cn>

On Thu, Jun 03, 2004 at 03:07:59PM +0800, Jason Luo wrote:
> Hi all,
> 
> I use gdb 6.1 to debug Grub 0.94.When I debug the function check_device 
> in lib/device.c,I found that the fopen directive was run twice.

It wasn't run twice; it appears in the step output twice.  This is
common when debugging optimized code; part of the function call occurs
before the previous line and part after.

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-06-03 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  7:10 Jason Luo
2004-06-03 20:44 ` Daniel Jacobowitz [this message]
2004-06-04  2:34   ` Jason Luo
2004-06-04 12:11     ` Eli Zaretskii

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=20040603204433.GA22683@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=jasonl@turbolinux.com.cn \
    /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