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: Fri, 28 Jul 2006 15:37:00 -0000	[thread overview]
Message-ID: <20060727133431.GA15615@nevyn.them.org> (raw)
In-Reply-To: <44C8A561.3060304@lipowsky.de>

On Thu, Jul 27, 2006 at 01:37:05PM +0200, Efim Monyak wrote:
> Yes, is where a possibility to save breakpoint state (number, enable or 
> disable) before disable
> breakpoints and apply it after enable?

No.  None of these things you want to do are possible in the GDB
scripting language; it just isn't complex enough.  Sorry.  You could
possibly drive GDB using something external and the machine interface
(MI).

There are tentative plans to hook up a real scripting language, but
they aren't ready yet - it may be a while.

> Because after "disable" command the information about breakpoint state 
> is lost. They all are disabled.
> I must do it by GDB script.
> Or is it possible to define an array as long as maximal possible number 
> of breakpoints?
> I don't found a maximal possible value for $bpnum.

There isn't a maximum.

> >In many cases the stub can handle all of this automatically,
> >manually disabling interrupts et cetera.
> >
> >  
> 
> stub receives command "insert breakpoint" for all enabled breakpoints 
> before program step or continue and
> "remove breakpoint" after program stop.
> 
> stub don't know breakpoints to be used on the next program step or continue.

I meant have the stub completely handle the restart operation, loading,
executing the bootloader, et cetera.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-07-27 13:34 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
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 [this message]

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=20060727133431.GA15615@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