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:28:00 -0000 [thread overview]
Message-ID: <20060725162649.GA14797@nevyn.them.org> (raw)
In-Reply-To: <44C644A7.4000106@lipowsky.de>
On Tue, Jul 25, 2006 at 06:19:51PM +0200, Efim Monyak wrote:
> I delete all breakpoints before load the applications again because my
> Hardware supports only two
> breakpoints. In other case I receive error from GDB. The load is
> multistep. In one of steps I must set
> an breakpoint to particular address and only one way I found to put it
> away is command delete all breakpoints.
> As I see no command deletes breakpoint on address. Use breakpoint to
> source line is not very good on this place.
"delete *0x3000000" should work.
Also, it sounds like you want "disable", not "delete".
> It is not possible for stub restart the application. They are often
> problem if a remote target is used.
> As I wrote set PC to start address works not properly if i.e. interrupts
> are enabled.
> If application runs from RAM it is lost after Hardware reset.
>
> The only handy way I see is to reload application set all used
> breakpoints and start it again.
In many cases the stub can handle all of this automatically,
manually disabling interrupts et cetera.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-07-25 16:27 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
2006-07-25 16:24 ` Efim Monyak
2006-07-25 16:28 ` Daniel Jacobowitz [this message]
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=20060725162649.GA14797@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