aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.h
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2002-05-02 11:18:07 +0000
committerPierre Muller <muller@sourceware.org>2002-05-02 11:18:07 +0000
commite2625b330b2648028824378985a5165ca92bd245 (patch)
treed8946ad5b264696dd62a0723d101e8035118d799 /gdb/p-lang.h
parent805fc79928c2c14c9223a18e8e1e0b94ccb58f16 (diff)
downloadgdb-e2625b330b2648028824378985a5165ca92bd245.zip
gdb-e2625b330b2648028824378985a5165ca92bd245.tar.gz
gdb-e2625b330b2648028824378985a5165ca92bd245.tar.bz2
2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-lang.h (is_pascal_string_type): Declaration changed, new sixth argument of type char ** added. * p-lang.c (is_pascal_string_type): Implementation changed. Args length_pos, length_size, string_pos, char_size can now be NULL. New argument arrayname set to the field name of the char array. Return value set to char array field index plus one. * p-valprint.c (pascal_val_print): Adapt to new declaration of is_pascal_string_type function.
Diffstat (limited to 'gdb/p-lang.h')
-rw-r--r--gdb/p-lang.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/p-lang.h b/gdb/p-lang.h
index ca8a0a9..39eb043 100644
--- a/gdb/p-lang.h
+++ b/gdb/p-lang.h
@@ -38,7 +38,8 @@ extern void pascal_type_print_method_args (char *, char *,
/* These are in p-lang.c: */
-extern int is_pascal_string_type (struct type *, int *, int *, int *, int*);
+extern int
+ is_pascal_string_type (struct type *, int *, int *, int *, int *, char **);
extern void pascal_printchar (int, struct ui_file *);