Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] GDB/624 - tbreak commands not executed when breakpoint hit
Date: Wed, 31 Jul 2002 13:16:00 -0000	[thread overview]
Message-ID: <20020731201450.GM683@gnat.com> (raw)
In-Reply-To: <20020731200936.GL683@gnat.com>

Grrr,

This chunck is of course not part of this RFA (see another RFA for PR
GDB/622). Sorry.

> diff -c -3 -p -r1.78 breakpoint.c
> *** breakpoint.c	26 Jun 2002 05:20:04 -0000	1.78
> --- breakpoint.c	31 Jul 2002 20:08:35 -0000
> *************** top:
> *** 1882,1888 ****
>     breakpoint_proceeded = 0;
>     for (; bs != NULL; bs = bs->next)
>       {
> !       cmd = bs->commands;
>         while (cmd != NULL)
>   	{
>   	  execute_control_command (cmd);
> --- 1882,1892 ----
>     breakpoint_proceeded = 0;
>     for (; bs != NULL; bs = bs->next)
>       {
> !       /* Use a temporary copy of the commands, as one command in the list
> !          may cause this breakpoint and its commands to be deleted.  */
> !       cmd = copy_command_lines (bs->commands);
> !       make_cleanup_free_command_lines (&cmd);
> ! 
>         while (cmd != NULL)
>   	{
>   	  execute_control_command (cmd);

-- 
Joel


  reply	other threads:[~2002-07-31 20:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31 13:14 Joel Brobecker
2002-07-31 13:16 ` Joel Brobecker [this message]
2002-08-20  6:28 ` Joel Brobecker
2002-08-22 15:10 ` Michael Snyder
2002-08-22 15:31   ` Joel Brobecker
2002-08-22 18:37     ` Michael Snyder
2002-09-27 16:10       ` Andrew Cagney

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=20020731201450.GM683@gnat.com \
    --to=brobecker@gnat.com \
    --cc=gdb-patches@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