From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14216 invoked by alias); 16 Feb 2004 20:40:38 -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 14183 invoked from network); 16 Feb 2004 20:40:36 -0000 Received: from unknown (HELO lakemtao03.cox.net) (68.1.17.242) by sources.redhat.com with SMTP; 16 Feb 2004 20:40:36 -0000 Received: from white ([68.9.64.121]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040216204037.MPGE2192.lakemtao03.cox.net@white> for ; Mon, 16 Feb 2004 15:40:37 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1AspXf-0001CC-00 for ; Mon, 16 Feb 2004 15:40:35 -0500 Date: Mon, 16 Feb 2004 20:40:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: -symbol-list-lines Message-ID: <20040216204035.GD3978@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/msg00175.txt.bz2 Hello, Is the "-symbol-list-lines" command supposed to be fully functional? I tried this. cd src/gdb/testsuite/gdb.mi gcc -g basics.c -o basics gdb -i=mi ./basics ... (gdb) -symbol-list-lines basics.c ^done,lines=[ {pc="0x080483e0",line="7"},{pc="0x080483e6",line="8"}, {pc="0x080483ed",line="9"},{pc="0x080483f4",line="12"}, {pc="0x08048400",line="13"},{pc="0x08048404",line="14"}, {pc="0x08048404",line="14"},{pc="0x08048406",line="0"}, {pc="0x08048408",line="16"},{pc="0x0804840e",line="17"}, {pc="0x08048413",line="18"},{pc="0x08048415",line="0"}, {pc="0x08048418",line="21"},{pc="0x0804841e",line="22"}, {pc="0x0804842d",line="23"},{pc="0x0804842f",line="0"}, {pc="0x08048430",line="26"},{pc="0x08048436",line="27"}, {pc="0x08048449",line="28"},{pc="0x0804844b",line="0"}, {pc="0x0804844c",line="31"},{pc="0x08048452",line="32"}, {pc="0x0804846d",line="33"},{pc="0x08048488",line="35"}, {pc="0x08048498",line="37"},{pc="0x0804849c",line="38"}, {pc="0x0804849c",line="38"},{pc="0x080484a2",line="0"}] I am seeing 2 potential problems, Several lines come back as {pc="0x08048406",line="0"}, should the value "0" be documented? or is it a bug? Also, for some reason, a value is repeated {pc="0x0804849c",line="38"}. Is this ok? Thanks, Bob Rossi