summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2003-03-25 02:18:55 +0000
committerAdam Fedor <fedor@gnu.org>2003-03-25 02:18:55 +0000
commit0f9de1d85fef788ab1108c0803230088204498ea (patch)
treed7bfe958b2393479076c4b10b9c3b3b79aa680d8
parentd47da527c91251683ac90b561ef7fd6a9a69c2d0 (diff)
downloadgdb-0f9de1d85fef788ab1108c0803230088204498ea.tar.gz
Makefile.in (YYOBJ): Add objc-exp.tab.o
objc-lang.h: Add multiple inclusion protection. (start_msglist, add_msglist, end_msglist): Additional declarations.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in1
-rw-r--r--gdb/objc-lang.h12
3 files changed, 19 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1cb7e58b3c4..4c3623e2768 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-24 Adam Fedor <fedor@gnu.org>
+
+ * Makefile.in (YYOBJ): Add objc-exp.tab.o
+ * objc-lang.h: Add multiple inclusion protection.
+ (start_msglist, add_msglist, end_msglist): Additional declarations.
+
2003-03-24 Richard Earnshaw <rearnsha@arm.com>
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 015670d2a0c..b1948334466 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -874,6 +874,7 @@ YYFILES = c-exp.tab.c \
jv-exp.tab.c \
f-exp.tab.c m2-exp.tab.c p-exp.tab.c
YYOBJ = c-exp.tab.o \
+ objc-exp.tab.o \
jv-exp.tab.o \
f-exp.tab.o m2-exp.tab.o p-exp.tab.o
diff --git a/gdb/objc-lang.h b/gdb/objc-lang.h
index 85068180fa8..02688c73c66 100644
--- a/gdb/objc-lang.h
+++ b/gdb/objc-lang.h
@@ -19,6 +19,11 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#if !defined(OBJC_LANG_H)
+#define OBJC_LANG_H
+
+struct stoken;
+
struct value;
struct block;
@@ -51,3 +56,10 @@ extern char *find_imps (struct symtab *symtab, struct block *block,
unsigned int *nsym, unsigned int *ndebug);
extern struct value *value_nsstring (char *ptr, int len);
+
+/* for parsing Objective C */
+extern void start_msglist (void);
+extern void add_msglist (struct stoken *str, int addcolon);
+extern int end_msglist (void);
+
+#endif