aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.h
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2001-11-09 09:48:09 +0000
committerPierre Muller <muller@sourceware.org>2001-11-09 09:48:09 +0000
commit5598ce11711078da0c7d490d11cc14cfdc421436 (patch)
tree2ea4ac92707ba0d1999dff87b24bfdd6a737d225 /gdb/p-lang.h
parent94a716bf572725eb2c6517833853a77ca3165362 (diff)
downloadgdb-5598ce11711078da0c7d490d11cc14cfdc421436.zip
gdb-5598ce11711078da0c7d490d11cc14cfdc421436.tar.gz
gdb-5598ce11711078da0c7d490d11cc14cfdc421436.tar.bz2
2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
* p-lang.c (is_pascal_string_type): New function to determine if a type is a string type. * p-lang.h: Add prototype for is_pascal_string_type. * p-valprint.c (pascal_val_print) : Use is_pascal_string_type function to display strings nicely.
Diffstat (limited to 'gdb/p-lang.h')
-rw-r--r--gdb/p-lang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/p-lang.h b/gdb/p-lang.h
index 3dd2830..ca8a0a9 100644
--- a/gdb/p-lang.h
+++ b/gdb/p-lang.h
@@ -38,6 +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 void pascal_printchar (int, struct ui_file *);
extern void pascal_printstr (struct ui_file *, char *, unsigned int, int, int);