restart for remote target
Daniel Jacobowitz
drow@false.org
Tue Jul 25 16:01:00 GMT 2006
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
More information about the Gdb
mailing list