Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Efim Monyak <ymonyak@lipowsky.de>
Cc: gdb@sources.redhat.com
Subject: Re: restart for remote target
Date: Tue, 25 Jul 2006 16:01:00 -0000	[thread overview]
Message-ID: <20060725154543.GA13313@nevyn.them.org> (raw)
In-Reply-To: <44C63BD6.7090505@lipowsky.de>

On Tue, Jul 25, 2006 at 05:42:14PM +0200, Efim Monyak wrote:
> Hi all,
> 
> I need an restart command for remote target. Set Program Counter to i.e. 
> 0 is not an
> option because interrupts.
> I implemented it as user-defined command but all breakpoints must be 
> delete before load.
> After load all breakpoints are lost.
> Is it possible to save breakpoint data in order restore it after 
> application reload?

Sorry, but your explanation omits too much; we need more information.
Load should not remove breakpoints.

Would it help you to connect using 'target extended-remote', and then
use "run" to restart the target?  That sends an 'R' packet to the stub,
which can do whatever it needs to.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-25 15:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 15:45 Efim Monyak
2006-07-25 16:01 ` Daniel Jacobowitz [this message]
2006-07-25 16:24   ` Efim Monyak
2006-07-25 16:28     ` Daniel Jacobowitz
2006-07-25 17:48       ` Efim Monyak
2006-07-25 18:22         ` Daniel Jacobowitz
2006-07-26 13:05           ` Efim Monyak
2006-07-26 14:10             ` Daniel Jacobowitz
2006-07-27 13:34       ` Efim Monyak
2006-07-28 15:37         ` 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=20060725154543.GA13313@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=ymonyak@lipowsky.de \
    /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