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: Support DW_TAG_entry_point


On Thu, 23 Apr 2009 08:10:03 +0200, Joel Brobecker wrote:
> On Wed, 22 Apr 2009 23:13:27 +0200, Tom Tromey wrote:
> > This looks strange to me.  IIUC, there's no requirement that
> > DW_TAG_entry_point be the first child.
> 
> That was my main observation at the time.

I guess the whole patch tagets just one compiler's (ifort's?) use of
DW_TAG_entry_point.  DWARF standard also says neither that DW_TAG_entry_point
should be a child of DW_TAG_subprogram nor that it should not have its own
DW_AT_high_pc.  Therefore assuming DW_TAG_entry_point will be the first child
DIE is ensured for the target compiler this patch was made for.

Still this patch is a clear improvement of the current GDB state while having
no regressions.  Shouldn't be a more complete support left as a possible next
patch on top of it?


Just my $0.02,
Jan


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