From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 523 invoked by alias); 24 Jan 2006 14:17:10 -0000 Received: (qmail 514 invoked by uid 22791); 24 Jan 2006 14:17:09 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jan 2006 14:17:06 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F1Oyi-0000EU-Sg for gdb@sources.redhat.com; Tue, 24 Jan 2006 15:17:01 +0100 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jan 2006 15:17:00 +0100 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jan 2006 15:17:00 +0100 To: gdb@sources.redhat.com From: Vladimir Prus Subject: MI -break-info command issues Date: Tue, 24 Jan 2006 14:22:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 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/msg00231.txt.bz2 Hello! Playing with MI -break-info command with gdb 6.4, I notice two issues. 1. The command does not print the full name (i.e. absolute) of the file where the breakpoint is. That is pretty bad for integrating with GUIs. Did I miss some other command? Is there a way to get full name of the file? 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? - Volodya