This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb can't handle a DIE with both sibling and children
On Thu, Jul 31, 2003 at 11:27:12AM -0700, H. J. Lu wrote:
> On Thu, Jul 31, 2003 at 02:20:49PM -0400, Daniel Jacobowitz wrote:
> >
> > Why don't you be more specific? What problem is it causing, on what
> > input?
> >
>
> I am trying to add support for DW_TAG_entry_point.
>
> <1><8e>: Abbrev Number: 4 (DW_TAG_subprogram)
>
> has both sibling and children. Since we skip to sibling, we miss the
> children, which is
>
> <2><c3>: Abbrev Number: 6 (DW_TAG_entry_point)
In that case, you're changing the invariants of that function. You'll
have to find a new algorithm for it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer