This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enhancement to "maint info sections" command


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]