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: DW_AT_specification: long ago GDB change


On 15 Apr 2004 17:19:17 -0500, Jim Blandy <jimb@redhat.com> wrote:

> Here are the attributes I see that we shouldn't search for in dies
> referenced by DW_AT_specification, but which are reasonable to look
> for in dies referred to by DW_AT_abstract_origin:
>
>   - DW_AT_declaration
>   - DW_AT_decl_column
>   - DW_AT_decl_file
>   - DW_AT_decl_line

I disagree about the other three; if the definition has different source
coordinates, it will have the attributes.  If it doesn't, there's no reason
to emit them again, and we should look them up in the declaration.

Jason


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