This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Enhancement to "maint info sections" command
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Dec 2001 13:29:43 +0200
- Subject: Re: [PATCH] Enhancement to "maint info sections" command
- References: <200112202103.fBKL3Gc29203@reddwarf.cygnus.com>
> Date: Thu, 20 Dec 2001 13:03:16 -0800
> From: Michael Snyder <msnyder@cygnus.com>
>
> Allow the command "maint info sections" to take a list of arguments.
> Arguments can be either section names or bfd section flags such as
> LOAD, ALLOC, CODE, DATA etc. All sections that match any argument
> will be listed, eg.
>
> (gdb) maint info sect .bss .data .text
>
> will list the three named sections, while
>
> (gdb) maint info sect LOAD ALLOC
>
> will list all sections with either of the flag attributes
> SEC_LOAD or SEC_ALLOC.
Please consider adding a description of this command to the user's
manual. Thanks.