This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/Ada 1/4] Full view of interface-wide types
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 29 Nov 2012 15:19:54 +0100
- Subject: Re: [RFA/Ada 1/4] Full view of interface-wide types
- References: <1354196235-8414-1-git-send-email-guitton@adacore.com>
> 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