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: [PATCH] Let dwarf2 CFI's execute_stack_op be used outside ofCFI


On Tue, 2 Apr 2002, Petr Sorfa wrote:

> Hi Jim,
> 
> I've implemented a dwarf3 location expression parser for GDB. My
> solution is, well, different than yours. I've gone for a more simpler
> (limited) solution based on the existing dwarf2read.c decode_locdesc
> function. It basically processes the location expression data passed to
> through a "dwarf block" which contains the raw DWARF data block and it's
> size.

I'm curious why you reimplemented this approach.
If you look back to last year, you'll note I sent something that does 
exactly this, to gdb-patches.
I never got around to attach dwarf blocks to types, because Andrew wanted 
it more independent of DWARF2.
You probably could have saved a lot of time in writing his stuff, which is 
why i'm curious.

--Dan



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