This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Missing breakpoint-modify events
- From: Keith Seitz <keiths at redhat dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: <gdb-patches at sources dot redhat dot com>
- Date: Tue, 18 Jun 2002 10:47:01 -0700 (PDT)
- Subject: Re: [RFA] Missing breakpoint-modify events
On Thu, 13 Jun 2002, Michael Snyder wrote:
> > I've also inserted a little clean up into ignore_command which will only
> > print the newline when from_tty is set. This cleans up the MI output when
> > -break-after is used.
>
> Hmmm... have you checked whether this affects output from scripts?
> I'm thinking --
> %> gdb -x myscript >& mylog
Yes, it will make a small difference, I believe. Before this patch,
set_ignore_count will not print anything, but ignore_command will print a
newline.
After this patch, neither ignore_command nor set_ignore_count will print
anything. (Which is seems to be the correct behavior.)
I've run this through the testsuite (linux native), and there are no
regressions.
I'll wait to hear from you again if this is okay before committing.
Keith