Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Xavier Bestel" <xbestel@aplio.fr>
To: <gdb@sourceware.cygnus.com>
Subject: Re: single-step
Date: Mon, 28 Feb 2000 09:17:00 -0000	[thread overview]
Message-ID: <045d01bf820f$922ce7c0$30fd62c2@aplio.fr> (raw)
In-Reply-To: <200002281523.PAA20903@cam-mail2.cambridge.arm.com>

> > I have and ARM dev board hooked to a Jeeni, controlled via ethernet. It
> > doesn't singl-step, it only stops at breakpoints. When I issue a "info
> > target", gdb replies that "Target can't single-step".
> > However I would greatly appreciate it to single step to debug my apps
...
> > So do you know how to fix it ? Is it a hardware non-feature or a simple
> > software misconfiguration ? Can gdb emulate singlestepping transparently
> > using breakpoints ?
> >
> >     Xav
> >
> >
>
> You need to make sure SOFTWARE_SINGLE_STEP_P is not defined to zero before
> including tm-arm.h
>
> Richard.
>

ok, so if I understood the system, when SOFTWARE_SINGLE_STEP_P=1,
SOFTWARE_SINGLE_STEP is the function which emulates the singlestepping using
breakpoints.
but if I don't define SOFTWARE_SINGLE_STEP_P, or if I define it to 1, then
do I have to provide a specialized SOFTWARE_SINGLE_STEP_P() ? There is no
such thing in tm-arm.h.

    Xav




  parent reply	other threads:[~2000-02-28  9:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <03a601bf81fa$3eed2800$30fd62c2@aplio.fr>
2000-04-01  0:00 ` single-step Richard Earnshaw
2000-02-28  7:24   ` single-step Richard Earnshaw
2000-02-28  9:17   ` Xavier Bestel [this message]
2000-02-28  9:27     ` single-step Richard Earnshaw

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='045d01bf820f$922ce7c0$30fd62c2@aplio.fr' \
    --to=xbestel@aplio.fr \
    --cc=gdb@sourceware.cygnus.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