Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Joel Brobecker <brobecker@gnat.com>
Cc: "William A. Gatliff" <bgat@billgatliff.com>, gdb@sources.redhat.com
Subject: Re: "tbreak" and "commands" commands...
Date: Fri, 26 Jul 2002 13:46:00 -0000	[thread overview]
Message-ID: <3D415F90.BE61E0BD@redhat.com> (raw)
In-Reply-To: <20020726203114.GI10000@gnat.com>

Joel Brobecker wrote:
> 
> > Does it work with "break" instead of "tbreak"?  I've never tried it
> > with tbreak, but "break" works in 5.1--- I use it a lot.
> 
> Yes, it works with regular breakpoints. It's only with temporary
> breakpoints that it does not work. I suspect that the temporary
> breakpoint with its command list is deleted before the command-list gets
> a chance to be executed.  I would like to know if this is the intended
> behavior (in which case I think GDB should refuse to add the command),
> or if this is a bug.
> 

Yes, it is a bug anyway.  We should either refuse or handle the
commands.

Is there any specific reason you want to delete the breakpoint?
You can just disable it as part of the commands.


  reply	other threads:[~2002-07-26 20:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-26 11:54 Joel Brobecker
2002-07-26 12:01 ` William A. Gatliff
2002-07-26 13:31   ` Joel Brobecker
2002-07-26 13:46     ` Fernando Nasser [this message]
2002-07-26 14:19       ` Joel Brobecker
2002-07-26 14:49         ` Fernando Nasser

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=3D415F90.BE61E0BD@redhat.com \
    --to=fnasser@redhat.com \
    --cc=bgat@billgatliff.com \
    --cc=brobecker@gnat.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