From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14284 invoked by alias); 21 Dec 2001 10:55:16 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14194 invoked from network); 21 Dec 2001 10:53:57 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 21 Dec 2001 10:53:57 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id LAA15925; Fri, 21 Dec 2001 11:53:51 +0100 Message-Id: <4.2.0.58.20011221115135.00acb908@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 21 Dec 2001 02:55:00 -0000 To: Michael Snyder , gdb-patches@sources.redhat.com From: Pierre Muller Subject: Re: [PATCH] Further extend "maint info sections" cmd with ALLOBJ In-Reply-To: <200112202230.fBKMUAO31066@reddwarf.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2001-12/txt/msg00557.txt.bz2 At 23:30 20/12/2001 , Michael Snyder a écrit: >As a further extension, the "maint info sections" command >will now accept an argument "ALLOBJ" to iterate over all >known object files (which includes shared libraries. >You can now do (for instance): > > (gdb) maint info sect .bss ALLOBJ > >to see info on the .bss sections of all loaded object files. Great job! Just a little remark, I would have expected that I get the same output for the main executable in "maint info sect" and "maint info sect ALLOBJ" but when I tried it out on a freshly compiled GDB, the seciond command didn't should the .stab and .stabstr sections that were shown for the first command. This is intentional? Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99