This is the mail archive of the gdb@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: gdb can't handle a DIE with both sibling and children


On Thu, Jul 31, 2003 at 04:02:15PM -0400, Daniel Jacobowitz wrote:
> > 
> > I don't know for sure how DW_TAG_entry_point works. It seems to me
> > that DW_TAG_entry_point should inherit DW_AT_accessibility and
> > DW_AT_high_pc from its parent. 
> 
> Certainly not high_pc.  Its _bounds_ are the bounds of its parent; the
> entry point is only specific PC that gets jumped to.

The entry point is DW_AT_low_pc. From what I can see, its DW_AT_high_pc
should be the same as its parent. See

http://www-sld.slac.stanford.edu/HELP/FORTRAN/STATEMENTS/ENTRY



H.J.


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