From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3455 invoked by alias); 17 May 2004 15:29:54 -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 3432 invoked from network); 17 May 2004 15:29:51 -0000 Received: from unknown (HELO e35.co.us.ibm.com) (32.97.110.133) by sourceware.org with SMTP; 17 May 2004 15:29:51 -0000 Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.195.10]) by e35.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i4HFTGYm510800; Mon, 17 May 2004 11:29:16 -0400 Received: from austin.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay01.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i4HFTGWD502782; Mon, 17 May 2004 09:29:16 -0600 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i4HFTFoS041932; Mon, 17 May 2004 10:29:15 -0500 Date: Mon, 17 May 2004 15:29:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Monika Chaddha cc: gdb@sources.redhat.com Subject: RE: List command question In-Reply-To: <004801c43a43$36fc9800$5100a8c0@monika> Message-ID: References: <004801c43a43$36fc9800$5100a8c0@monika> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-05/txt/msg00099.txt.bz2 > >manjo@nefertiti:~/projects/src> cc -o ~/tests/test ~/tests/test.c > >manjo@nefertiti:~/projects/src> ./gdb/gdb ~/tests/test > >GNU gdb 2004-04-17-cvs > >Copyright 2004 Free Software Foundation, Inc. > >GDB is free software, covered by the GNU General Public License, and > you > >are > >welcome to change it and/or distribute copies of it under certain > >conditions. > >Type "show copying" to see the conditions. > >There is absolutely no warranty for GDB. Type "show warranty" for > >details. > >This GDB was configured as "powerpc64-gnu-linux"...Using host > libthread_db > >libra > >ry "/lib64/tls/libthread_db.so.1". > > > >(gdb) list > >1 ../sysdeps/powerpc/powerpc32/elf/start.S: No such file or > >directory. > > in ../sysdeps/powerpc/powerpc32/elf/start.S > >(gdb) quit > > > > IMHO this output is simply misleading, it should print something meaningful, like no symbols found, or no debug info in executable, or compile with -g to generate more debug info etc.... 'file not found' is not a clear indicator of what is going on. -- Manoj Iyer