Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb@sources.redhat.com
Subject: Re: Breakpoint commands
Date: Mon, 26 Oct 2009 13:15:00 -0000	[thread overview]
Message-ID: <hc417d$8cs$1@ger.gmane.org> (raw)
In-Reply-To: <20091026095900.GB24532@adacore.com>

Joel Brobecker wrote:

>> It's probably not too difficult to implement "if you encounter any
>> other breakpoint with its own command list while executing the
>> original command list, the original command list is abandoned" policy.
>> I'll open a feature request unless somebody explains why this would be
>> a bad idea.
> 
> I think it would indeed be a big improvement.  I was hoping that the issue
> would go away with python support, but anyone who learnt about this behavior
> was surprised and found the argument to be very weak.

I'd like to mention this is not the only case where GDB abandons something
when hitting something else. E.g. if you have solib events enabled, and do
next and solib is loaded, the "next" operation is aborted, and you're stuck
in the middle of nowhere with no chance for a frontend to do anything.

It would be nice of infrun be rewritten to use a proper state machine, permitting
nesting.

- Volodya



  reply	other threads:[~2009-10-26 11:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-24 15:03 Eli Zaretskii
2009-10-24 16:30 ` Pedro Alves
2009-10-24 16:48   ` Eli Zaretskii
2009-10-24 23:05     ` Paul Pluzhnikov
2009-10-25  0:30       ` Michael Snyder
2009-10-26 11:30       ` Joel Brobecker
2009-10-26 13:15         ` Vladimir Prus [this message]
2009-10-26 23:42           ` Paul Pluzhnikov
2009-10-24 18:29 ` Andreas Schwab

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='hc417d$8cs$1@ger.gmane.org' \
    --to=vladimir@codesourcery.com \
    --cc=gdb@sources.redhat.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