[Ada] New functions to decode Ada types and values

This patch introduces two new functions that will be used to support
the implementation of the ada-varobj effort.  The function descriptions
should say it all...

gdb/ChangeLog:

        * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
        declaration.
        * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
        function.
This commit is contained in:
Joel Brobecker 2012-02-29 19:44:12 +00:00
parent ffde82bff0
commit 41246937ec
3 changed files with 51 additions and 0 deletions

View file

@ -210,6 +210,10 @@ extern LONGEST ada_discrete_type_low_bound (struct type *);
extern LONGEST ada_discrete_type_high_bound (struct type *);
extern struct value *ada_get_decoded_value (struct value *value);
extern struct type *ada_get_decoded_type (struct type *type);
extern char *ada_decode_symbol (const struct general_symbol_info*);
extern const char *ada_decode (const char*);