This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]