From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23968 invoked by alias); 21 Jun 2005 21:58:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23955 invoked by uid 22791); 21 Jun 2005 21:58:43 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.207) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 21 Jun 2005 21:58:43 +0000 Received: by wproxy.gmail.com with SMTP id 69so1510677wra for ; Tue, 21 Jun 2005 14:58:41 -0700 (PDT) Received: by 10.54.31.49 with SMTP id e49mr39663wre; Tue, 21 Jun 2005 14:58:41 -0700 (PDT) Received: by 10.54.5.4 with HTTP; Tue, 21 Jun 2005 14:58:41 -0700 (PDT) Message-ID: <7f89a3ea05062114585b8e320b@mail.gmail.com> Date: Tue, 21 Jun 2005 21:58:00 -0000 From: Midnight Xiong Reply-To: Midnight Xiong To: gdb@sources.redhat.com Subject: the fullname in MI In-Reply-To: <7f89a3ea050621145727f72dad@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f89a3ea050621145727f72dad@mail.gmail.com> X-SW-Source: 2005-06/txt/msg00195.txt.bz2 Hi, I'm wondering, how can I get the fullname of source file in MI output? For example, ^done,reason=3D"breakpoint-hit",bkptno=3D"1",thread-id=3D"1",frame=3D{addr= =3D"0x00401342", func=3D"main",args=3D[{name=3D"argc",value=3D"1"},{name=3D"argv",value=3D"= 0x3d24c8"}],file=3D" test.c",line=3D"11"} =20 For file=3D"test.c", how can I determine the correct filename (with absolute path)? Thank you so much. =20 =20 =20 Best Regards, Midnight.Xiong