From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Don Howard Cc: Pierre Muller , gdb@sources.redhat.com Subject: Re: [RFA] deleting breakpoints inside of 'commands' Date: Thu, 13 Sep 2001 14:14:00 -0000 Message-id: <3BA121B3.6030809@cygnus.com> References: X-SW-Source: 2001-09/msg00116.html > + head_cmd = cmd = bs->commands; > + bs->commands = NULL; > + if (bs->breakpoint_at) > + bs->breakpoint_at->commands = NULL; don, i've reservations about this. could it leave the bp in an undefined state - one of the commands could abort. hoewever, i am very ok with the theory behind it - the comand sequence that is executed shouldn't be affected by commands that update the breakpoint. perhaphs a duplication would be better? andrew