From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19092 invoked by alias); 18 Jun 2002 17:47:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18917 invoked from network); 18 Jun 2002 17:47:03 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 18 Jun 2002 17:47:03 -0000 Received: from makita.cygnus.com (makita.sfbay.redhat.com [192.168.30.83]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id KAA03724; Tue, 18 Jun 2002 10:47:02 -0700 (PDT) Received: from localhost (keiths@localhost) by makita.cygnus.com (8.8.8+Sun/8.6.4) with ESMTP id KAA07011; Tue, 18 Jun 2002 10:47:01 -0700 (PDT) X-Authentication-Warning: makita.cygnus.com: keiths owned process doing -bs Date: Tue, 18 Jun 2002 10:47:00 -0000 From: Keith Seitz X-X-Sender: To: Michael Snyder cc: Subject: Re: [RFA] Missing breakpoint-modify events In-Reply-To: <3D09804B.BD4E6526@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-06/txt/msg00324.txt.bz2 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