From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23802 invoked by alias); 24 Jan 2006 21:21:10 -0000 Received: (qmail 23794 invoked by uid 22791); 24 Jan 2006 21:21:09 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jan 2006 21:21:08 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HRD27696; Tue, 24 Jan 2006 22:49:59 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-80-230-153-138.inter.net.il [80.230.153.138]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CNT83792 (AUTH halo1); Tue, 24 Jan 2006 22:49:58 +0200 (IST) Date: Tue, 24 Jan 2006 21:24:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus , gdb@sources.redhat.com In-reply-to: <20060124144449.GE28357@brasko.net> (message from Bob Rossi on Tue, 24 Jan 2006 09:44:49 -0500) Subject: Re: MI -break-info command issues Reply-to: Eli Zaretskii References: <20060124144449.GE28357@brasko.net> X-IsSubscribed: yes 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/msg00246.txt.bz2 > 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.