aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2006-01-12 08:36:29 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2006-01-12 08:36:29 +0000
commit03ee6b2e0126a6fddd533a3e8ed3401fdee747b0 (patch)
tree5689eb9d4c286b99baa5aaa34e3b44f05f544866 /gdb/ada-lang.h
parent761ae4d6261a4d66de9a699b9ccee8688f12a9a5 (diff)
downloadgdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.zip
gdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.tar.gz
gdb-03ee6b2e0126a6fddd533a3e8ed3401fdee747b0.tar.bz2
* ada-exp.y (yyerror): Change message to ignore the argument, avoiding
translation problems. * ada-lang.c (ada_value_struct_elt): Change interface and handling of errors to avoid translation problem (and less than optimal error messages). (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): Use new interface to ada_value_struct_elt. * ada_lang.h (ada_value_struct_elt): Update declaration to new interface. * ChangeLog: remove reference to ada-tasks.c from entry of 2006-01-07.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index a2114a8..9905909 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -363,7 +363,7 @@ extern int ada_in_variant (LONGEST, struct type *, int);
extern char *ada_variant_discrim_name (struct type *);
-extern struct value *ada_value_struct_elt (struct value *, char *, char *);
+extern struct value *ada_value_struct_elt (struct value *, char *, int);
extern int ada_is_aligner_type (struct type *);