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]

Re: can't find class named `foo', as given by C++ RTTI



Daniel Berlin <dan@cgsoftware.com> writes:
> But first, realize that to implement in GDB, you must do one of two things.
> 1. Change GDB to only explicitly keep track of the current scope (IE like 
> the compilers do), and magically have the symbols for that scope.  This 
> would require so much redesign it's not even funny.
> 2. Convert what the designs say from stacks to blockvectors (IE most are 
> based on stacks where you only keep the current visible scopes around.  We 
> need all the scopes, so you just have to think of how to do the conversion 
> between the two in your head. It's usually not that difficult to do at all.)
> 
> I'd suggest, for obvious reasons, 2.

Yeah, I'd say 1. doesn't apply to us. 

> Section 3 of Advanced Compiler Design and Implementation - Steven Muchnick
> 
> It's titled "Symbol table structure".

Oh, I've got that, actually.


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