From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11814 invoked by alias); 21 Nov 2005 14:44:20 -0000 Received: (qmail 11805 invoked by uid 22791); 21 Nov 2005 14:44:20 -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; Mon, 21 Nov 2005 14:44:18 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EeCsA-00019F-8O for gdb@sources.redhat.com; Mon, 21 Nov 2005 15:42:22 +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 ; Mon, 21 Nov 2005 15:42:22 +0100 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Nov 2005 15:42:22 +0100 To: gdb@sources.redhat.com From: Vladimir Prus Subject: MI: full file name Date: Mon, 21 Nov 2005 14:44:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8Bit 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: 2005-11/txt/msg00447.txt.bz2 Hi, I'm using gdb 6.3 and it seems like in MI mode, there's no way to get full name of a source file on stop. Consider this session: $ gdb a.out -fullname .... (gdb) set annotate 1 (gdb) interpreter mi "-exec-run" ^running (gdb) Hi *stopped,reason="breakpoint-hit",bkptno="1",thread-id="0", frame={addr="0x08048470",func="main",args=[],file="a.cpp",line="7"} (gdb) (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /tmp/a.out Hi Breakpoint 1, main () at a.cpp:7 ‘‘/tmp/a.cpp:7:54:beg:0x8048470 As you see, in console mode, full name of the file is printed. In MI mode, I see just "a.cpp". 1. Can I get full file name in MI output somehow? 2. If not, any chance this will be fixed? Thanks, Volodya