aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.h
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-10-09 06:59:27 +0000
committerPierre Muller <muller@sourceware.org>2007-10-09 06:59:27 +0000
commitcd6c7346a611f2b9f937c9d1e14fb565ab217a3c (patch)
treefe40acb9d57780958b1fa455802561c69ddbe051 /gdb/p-lang.h
parent944d6884eaa85a1376240bfcc934d17f6f99a483 (diff)
downloadgdb-cd6c7346a611f2b9f937c9d1e14fb565ab217a3c.zip
gdb-cd6c7346a611f2b9f937c9d1e14fb565ab217a3c.tar.gz
gdb-cd6c7346a611f2b9f937c9d1e14fb565ab217a3c.tar.bz2
2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
* p-lang.h (pascal_main_name): Add declaration. * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) (GPC_MAIN_PROGRAM_NAME_2): New constants. (pascal_main_name): New function. * symtab.c: Include p-lang.h. (find_main_name): Add call to pascal_main_name. * Makefile.in (symtab.o): Add dependency on p-lang.h.
Diffstat (limited to 'gdb/p-lang.h')
-rw-r--r--gdb/p-lang.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/p-lang.h b/gdb/p-lang.h
index d6fe9b2..994d9ad 100644
--- a/gdb/p-lang.h
+++ b/gdb/p-lang.h
@@ -21,6 +21,9 @@
struct value;
+/* Defined in p-lang.c */
+extern const char *pascal_main_name (void);
+
extern int pascal_parse (void); /* Defined in p-exp.y */
extern void pascal_error (char *); /* Defined in p-exp.y */