From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26109 invoked by alias); 24 Jan 2006 21:24:59 -0000 Received: (qmail 26100 invoked by uid 22791); 24 Jan 2006 21:24:59 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao05.cox.net (HELO eastrmmtao05.cox.net) (68.230.240.34) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jan 2006 21:24:57 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao05.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060124212502.RDUI14098.eastrmmtao05.cox.net@localhost.localdomain>; Tue, 24 Jan 2006 16:25:02 -0500 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1F1VfK-00066K-V1; Tue, 24 Jan 2006 16:25:26 -0500 Date: Tue, 24 Jan 2006 23:35:00 -0000 From: Bob Rossi To: Eli Zaretskii Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: MI -break-info command issues Message-ID: <20060124212526.GG28357@brasko.net> Mail-Followup-To: Eli Zaretskii , Vladimir Prus , gdb@sources.redhat.com References: <20060124144449.GE28357@brasko.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00247.txt.bz2 On Tue, Jan 24, 2006 at 10:49:59PM +0200, Eli Zaretskii wrote: > > Date: Tue, 24 Jan 2006 09:44:49 -0500 > > From: Bob Rossi > > Cc: gdb@sources.redhat.com > > > > 2. The output of the command looks like this: > > > ^done,BreakpointTable={nr_rows="1",nr_cols="6", > > > hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"} > > > {width="14",alignment="-1",col_name="type",colhdr="Type"} > > > {width="4",alignment="-1",col_name="disp",colhdr="Disp"} > > > {width="3",alignment="-1",col_name="enabled",colhdr="Enb"} > > > {width="10",alignment="-1",col_name="addr",colhdr="Address"} > > > {width="40",alignment="2",col_name="what",colhdr="What"}], > > > body=[bkpt={number="2",type="breakpoint",disp="keep",enabled="y", > > > addr="0x08048464",func="main",file="main.cpp",line="6",times="1"}]} > > > > > > What is the point of producing spreadsheet-like output with columns and > > > column heading and column alignment? I'd expect that any GUI frontend will > > > have some specific representation and just ignore that extra formatting. > > > Why generate it at all? > > > > I agree, this output has always been useless to me. I would be happy to > > see it go away. > > I DON'T agree, and I think it would be a grave mistake to have this > output go away. About the worst thing a program can do is have some > information and not reveal it. Skipping unneeded information is easy; > restoring missing one is next to impossible. Like I said, I don't understand why this information is important. The breakpoint command is the only one that get's a header, and I find it odd. However, if you would like it to stay, I won't get in your way. Bob Rossi