[patches] Re: dwarf2/ACCUMULATE_OUTGOING_ARGS fix

Daniel Berlin dberlin@redhat.com
Thu Feb 22 08:26:00 GMT 2001


> >
> > Do you have patches to make gdb use the info in .eh_frame, then?
> No - we didn't started GDB yet.

You probably should.
It will take you months, at least.

GDB's current way of expressing locations has nowhere near the
expressiveness of dwarf2. This is why we don't support optimized code
debugging, or .eh_frame. It's also why we en dup scanning the prologue by
hand to find things.

You'll need to convert the location structure in gdb to use dwarf2
expressions, rather than what it does now, and add the code to evaluate a
location list/expression. THen modify the dwarf2 reader to stop converting
to the location expressions gdb uses now.

It's on my todo list, but i won't get to it for at least another year,
likely.




More information about the Gcc-patches mailing list