aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 19:56:01 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 19:56:01 +0000
commit10a2c479a7ced4d97b179bdf6cb2a12891d57c62 (patch)
tree06a4d002d81b7447382d5044092847f01e85f555 /gdb/ada-lang.h
parent7af0dfc73dbf19b5fb229b377766203ff0ad85ec (diff)
downloadgdb-10a2c479a7ced4d97b179bdf6cb2a12891d57c62.zip
gdb-10a2c479a7ced4d97b179bdf6cb2a12891d57c62.tar.gz
gdb-10a2c479a7ced4d97b179bdf6cb2a12891d57c62.tar.bz2
2005-01-28 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (value_from_contents_and_address) (to_record_with_fixed_variant_part) (value_tag_from_contents_and_address, ada_to_fixed_type) (to_fixed_variant_branch_type, to_fixed_record_type) (ada_template_to_fixed_record_type, cond_offset_host) (ada_template_to_fixed_record_type_1): Make buffer a const bfd_byte. * ada-lang.h (ada_template_to_fixed_record_type_1) (value_from_contents_and_address, ada_to_fixed_type): Ditto.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 970ad47..7db9452 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -196,7 +196,8 @@ extern int ada_value_print (struct value *, struct ui_file *, int,
/* Defined in ada-lang.c */
-extern struct value *value_from_contents_and_address (struct type *, char *,
+extern struct value *value_from_contents_and_address (struct type *,
+ const bfd_byte *,
CORE_ADDR);
extern void ada_emit_char (int, struct ui_file *, int, int);
@@ -339,13 +340,14 @@ extern struct type *ada_system_address_type (void);
extern int ada_which_variant_applies (struct type *, struct type *, char *);
-extern struct type *ada_to_fixed_type (struct type *, char *, CORE_ADDR,
- struct value *);
+extern struct type *ada_to_fixed_type (struct type *, const bfd_byte *,
+ CORE_ADDR, struct value *);
-extern struct type *
- ada_template_to_fixed_record_type_1 (struct type *type, char *valaddr,
- CORE_ADDR address, struct value *dval0,
- int keep_dynamic_fields);
+extern struct type *ada_template_to_fixed_record_type_1 (struct type *type,
+ const bfd_byte *valaddr,
+ CORE_ADDR address,
+ struct value *dval0,
+ int keep_dynamic_fields);
extern int ada_name_prefix_len (const char *);