This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Further extend "maint info sections" cmd with ALLOBJ
- From: Pierre Muller <muller at cerbere dot u-strasbg dot fr>
- To: Michael Snyder <msnyder at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Fri, 21 Dec 2001 11:53:57 +0100
- Subject: Re: [PATCH] Further extend "maint info sections" cmd with ALLOBJ
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