From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29438 invoked by alias); 6 Jun 2006 08:01:07 -0000 Received: (qmail 29423 invoked by uid 22791); 6 Jun 2006 08:01:06 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 08:01:02 +0000 Received: from kahikatea.snap.net.nz (p202-124-112-224.snap.net.nz [202.124.112.224]) by viper.snap.net.nz (Postfix) with ESMTP id 8C2FE758960; Tue, 6 Jun 2006 20:01:00 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 0BC291D3550; Tue, 6 Jun 2006 20:00:17 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17541.13839.981235.675829@kahikatea.snap.net.nz> Date: Tue, 06 Jun 2006 08:01:00 -0000 To: Eli Zaretskii Cc: susan@smacchia.net, gdb@sourceware.org Subject: Re: MI: -file-list-exec-source-files In-Reply-To: References: <20060603004553.33821.qmail@web51812.mail.yahoo.com> <17536.58772.420434.491191@kahikatea.snap.net.nz> <17538.3165.636175.483701@kahikatea.snap.net.nz> <20060603223537.GA3482@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.50.20 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-06/txt/msg00037.txt.bz2 > FWIW, GDB 6.3 doesn't seem to have this problem, AFAICS: > > eliz@fencepost:~$ ./gdb-6.3/gdb/gdb --interpreter=mi2 ./mytest > ~"GNU gdb 6.3\n" > ~"Copyright 2004 Free Software Foundation, Inc.\n" > ~"GDB is free software, covered by the GNU General Public License, and you are\n" > ~"welcome to change it and/or distribute copies of it under certain conditions.\n" > ~"Type \"show copying\" to see the conditions.\n" > ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n" > ~"This GDB was configured as \"i686-pc-linux-gnu\"..." > ~"Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n" > ~"\n" > (gdb) > -file-list-exec-source-files > ^done,files=[{file="crtn.S"},{file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S"},{file="myproc.c",fullname="/home/e/eliz/myproc.c"},{file="mytest.c",fullname="/home/e/eliz/mytest.c"},{file="crti.S"},{file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S"},{file="init.c"},{file="start.S"},{file="../sysdeps/i386/elf/start.S"}] Yes, I see this too: nickrob/194 src/gdb/gdb mytest GGNU gdb 6.5.50.20060601-cvs Copyright (C) 2006 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) maint info psymtab { objfile /home/nickrob/mytest ((struct objfile *) 0x90877f8) { psymtab myproc.c ((struct partial_symtab *) 0x9091e9c) readin no fullname (null) text addresses 0x0 -- 0x0 globals (none) statics (none) dependencies { psymtab myproc.c ((struct partial_symtab *) 0x908d820) } } { psymtab myproc.c ((struct partial_symtab *) 0x908d820) readin no fullname (null) text addresses 0x8048380 -- 0x8048387 globals (* (struct partial_symbol **) 0x9075874 @ 1) statics (* (struct partial_symbol **) 0x908d8bc @ 1) dependencies (none) } { psymtab mytest.c ((struct partial_symtab *) 0x908d7c8) readin no fullname (null) text addresses 0x0 -- 0x0 globals (none) statics (none) dependencies { psymtab mytest.c ((struct partial_symtab *) 0x908d76c) } } { psymtab mytest.c ((struct partial_symtab *) 0x908d76c) readin no fullname (null) text addresses 0x8048360 -- 0x804837f globals (* (struct partial_symbol **) 0x9075870 @ 1) statics (* (struct partial_symbol **) 0x908d8b8 @ 1) dependencies (none) } } nickrob/195 gdb mytest GNU gdb Red Hat Linux (6.3.0.0-1.122rh) 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) maint info psymtab { objfile /home/nickrob/mytest ((struct objfile *) 0x9cffd70) { psymtab myproc.c ((struct partial_symtab *) 0x9d05cf8) readin no fullname (null) text addresses 0x8048380 -- 0x8048387 globals (* (struct partial_symbol **) 0x9ceddfc @ 1) statics (* (struct partial_symbol **) 0x9d05e54 @ 1) dependencies (none) } { psymtab mytest.c ((struct partial_symtab *) 0x9d05c9c) readin no fullname (null) text addresses 0x8048360 -- 0x804837f globals (* (struct partial_symbol **) 0x9ceddf8 @ 1) statics (* (struct partial_symbol **) 0x9d05e50 @ 1) dependencies (none) } } -- Nick http://www.inet.net.nz/~nickrob