This is the mail archive of the gdb-patches@sourceware.org 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: RFC: Collecting together binary file attributes into a single file.


On 29 Sep 2011, at 10:34, "Nick Clifton" <nickc@redhat.com> wrote:

> Hi Guys,
> 
>  All I wanted to do was to make GCC's ARM assembler output slightly
>  easier to read...
> 
>  I would like to propose a patch to create a new header file in the
>  include/ directory.  This file would contain enums describing the
>  attributes that be can found in SHT_GNU_ATTRIBUTES sections.  The
>  purpose of the file is to provide a single place where these values
>  are defined, and to share the information between GCC, BINUTILS and
>  GDB.
> 
>  The patch also includes an update to readelf to make it use the
>  enumerated values and an example of a patch to the ARM backend of GCC
>  to include the attribute names in its assembler output.
> 
> 
>  So - what do people think ?  Any objections to this idea ?
> 

I don't think it's a good idea to have the attributes of every CPU we support in a single file.  That's going to get unmaintainable very quickly.

R


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