Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Decker, Paul" <Paul.Decker@analog.com>
To: <gdb@sources.redhat.com>
Subject: implementing stepi
Date: Fri, 29 Apr 2005 13:03:00 -0000	[thread overview]
Message-ID: <E21A9A52FF03B249B20F0DC563DEBB3118EFF306@nwd2exm3.ad.analog.com> (raw)



hello everyone,

I have what I believe is a simple question on the implementation of the
stepi feature.  Some processors provide a mechanism to step exactly one
instruction, such as a special bit in a debug control register.  While
other processors don't provide this capability, and to implement a step,
breakpoints must be sprinkled in various places, and a run (to the
breakpoint) performed.   Looking at some of the gdb source, it seems
that stepi is implemented using the breakpoint method.  In doing a port
to my custom processor, is it considered ok to use the hardware method
if available?

Thanks,
Paul.


             reply	other threads:[~2005-04-29 12:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 13:03 Decker, Paul [this message]
2005-04-29 15:15 ` Daniel Jacobowitz

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=E21A9A52FF03B249B20F0DC563DEBB3118EFF306@nwd2exm3.ad.analog.com \
    --to=paul.decker@analog.com \
    --cc=gdb@sources.redhat.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