aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-02-29 19:44:12 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-02-29 19:44:12 +0000
commit41246937ec25e4d69802ee153ce8c562882126a1 (patch)
treeb3f95acb66db0e47c129b88d83c58c58d13e0561 /gdb/ada-lang.h
parentffde82bff0610b4c4d9e047489303649acf7c6ea (diff)
downloadfsf-binutils-gdb-41246937ec25e4d69802ee153ce8c562882126a1.zip
fsf-binutils-gdb-41246937ec25e4d69802ee153ce8c562882126a1.tar.gz
fsf-binutils-gdb-41246937ec25e4d69802ee153ce8c562882126a1.tar.bz2
[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.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 2a6cd57..d11a624 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*);