From a219eba792d6b074b14aa049879e0213bb9439ff Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 29 Feb 2012 19:44:09 +0000 Subject: [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. --- gdb/ada-lang.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/ada-lang.h') diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 2a6cd57d9f9..d11a624be55 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -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*); -- cgit v1.2.1