diff options
author | Adam Fedor <fedor@gnu.org> | 2003-03-25 02:18:55 +0000 |
---|---|---|
committer | Adam Fedor <fedor@gnu.org> | 2003-03-25 02:18:55 +0000 |
commit | 2cf6873caef1b656aeacdea811c225bdd53e9029 (patch) | |
tree | 72f7eeaa55b396459d81410a487d419c6da0eedf | |
parent | fe6c07ac60d75fea5f65e18e0d37dc996d89cb9e (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/Makefile.in | 1 | ||||
-rw-r--r-- | gdb/objc-lang.h | 12 |
3 files changed, 19 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1cb7e58..4c3623e 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 015670d..b194833 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 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 |