Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Jean-Eric Cuendet <jean-eric.cuendet@linkvest.com>
Cc: gdb@sources.redhat.com
Subject: Re: Setting Prog pointer back in the prog
Date: Wed, 20 Nov 2002 06:14:00 -0000	[thread overview]
Message-ID: <20021120141426.GB4546@nevyn.them.org> (raw)
In-Reply-To: <3DDB6CF2.4090108@linkvest.com>

On Wed, Nov 20, 2002 at 12:07:30PM +0100, Jean-Eric Cuendet wrote:
> Hi,
> With MsDev debugger, you can set the program pointer back in the code
> (Set Next Statement).
> Is it also possible with GDB?
> If yes, how? Why doesn't Eclipse/Insight/DDD/... don't provide that?
> If no, why? Will it be implemented in a next version? Or is it a MsDev
> bug? :-)

Try: "set $pc = <address>".  You have to use PC values, not line
numbers.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-11-20 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20  3:07 Jean-Eric Cuendet
2002-11-20  6:14 ` Daniel Jacobowitz [this message]
2002-11-20  9:21   ` Andrew Cagney
2002-11-20 10:36     ` Daniel Jacobowitz
2002-11-20 12:35       ` Andrew Cagney

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=20021120141426.GB4546@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=jean-eric.cuendet@linkvest.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