summaryrefslogtreecommitdiff
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
commitdd74aa2a2c0461b5d04362cc027d19292373780b (patch)
tree9ba15cf8eacb468cb32a04725e7e5666d6422218 /gdb/ada-lang.h
parent41134d77c3ea123dc27cf40d89e19406147b8d53 (diff)
downloadgdb-dd74aa2a2c0461b5d04362cc027d19292373780b.tar.gz
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 970ad474a37..7db9452960c 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 *);