This is the mail archive of the gdb-patches@sourceware.org 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: [RFA/Ada 1/4] Full view of interface-wide types


> gdb/ChangeLog:
> 
> 	* ada-lang.h (ada_tag_value_at_base_address): New function
> 	declaration.
> 	* ada-lang.c (is_ada95_tag, ada_tag_value_at_base_address):
> 	New functions.
> 	(ada_to_fixed_type_1, ada_evaluate_subexp): Let ada_tag_base_address
> 	relocate the class-wide value if need be.
> 	* (ada_value_struct_elt, ada_value_ind, ada_coerce_ref):
> 	Let ada_tag_value_at_base_address relocate the class-wide access/ref
> 	before dereferencing it.
> 	* ada-valprint.c (ada_val_print_1): Relocate to base address
> 	before displaying the content of a interface-wide ref.

OK! Small nit: "an interface-wide ref" (instead of "a" - last line
of the ChangeLog entry).

-- 
Joel


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