aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.h
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
commit2cf6873caef1b656aeacdea811c225bdd53e9029 (patch)
tree72f7eeaa55b396459d81410a487d419c6da0eedf /gdb/objc-lang.h
parentfe6c07ac60d75fea5f65e18e0d37dc996d89cb9e (diff)
downloadgdb-2cf6873caef1b656aeacdea811c225bdd53e9029.zip
gdb-2cf6873caef1b656aeacdea811c225bdd53e9029.tar.gz
gdb-2cf6873caef1b656aeacdea811c225bdd53e9029.tar.bz2
Makefile.in (YYOBJ): Add objc-exp.tab.o
objc-lang.h: Add multiple inclusion protection. (start_msglist, add_msglist, end_msglist): Additional declarations.
Diffstat (limited to 'gdb/objc-lang.h')
-rw-r--r--gdb/objc-lang.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/objc-lang.h b/gdb/objc-lang.h
index 8506818..02688c7 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