From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28136 invoked by alias); 10 Feb 2004 20:17:51 -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 28109 invoked from network); 10 Feb 2004 20:17:50 -0000 Received: from unknown (HELO lakemtao04.cox.net) (68.1.17.241) by sources.redhat.com with SMTP; 10 Feb 2004 20:17:50 -0000 Received: from white ([68.9.64.121]) by lakemtao04.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040210201750.TGT19895.lakemtao04.cox.net@white> for ; Tue, 10 Feb 2004 15:17:50 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1AqeKL-0000LZ-00 for ; Tue, 10 Feb 2004 15:17:49 -0500 Date: Tue, 10 Feb 2004 20:17:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: -file-list-exec-source-files output Message-ID: <20040210201749.GA1220@white> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2004-02/txt/msg00090.txt.bz2 Date: Fri, 6 Feb 2004 23:41:12 -0500 From: Bob Rossi To: Kip Macy Cc: Andrew Cagney , gdb@sources.redhat.com Subject: Re: -file-list-exec-source-files implementation On Fri, Feb 06, 2004 at 06:27:45PM -0800, Kip Macy wrote: > > > > For the new mi command, it looks like this, > > -file-list-exec-source-files > > ^done,psymtab_file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S",psymtab_file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S",psymtab_file="init.c",psymtab_fullname="/home/bob/cvs/src/src/src/gdb/init.c",psymtab_file="../sysdeps/i386/elf/start.S",psymtab_file="test.c",psymtab_fullname="/home/bob/cvs/src/src/src/gdb/test.c" > > > > Any objections or suggestions? > > Plenty of other commands violate the grammar as specified in the > documentation, so it doesn't really matter, but technically it > should be something like: > > ^done,symfiles=[psymtab_file="filename", ...] Does anyone know if the appropriate output would be something like below? ^done,symfiles={symfile=[{filename="foo.c",fullname="/home/.../foo.c"}],symfile=[{...}]}, psymfiles={psymfile=[{filename="bar.c",fullname="/home/.../bar.c"}]} That groups the symfiles and the psymfiles. While grouping each individual symfile and psymfile. I am waiting to see if this output would be appropriate. Is it? Thanks, Bob Rossi