From: Adam Fedor Date: Tue, 25 Mar 2003 02:18:55 +0000 (+0000) Subject: Makefile.in (YYOBJ): Add objc-exp.tab.o X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cf6873caef1b656aeacdea811c225bdd53e9029;p=binutils-gdb.git Makefile.in (YYOBJ): Add objc-exp.tab.o objc-lang.h: Add multiple inclusion protection. (start_msglist, add_msglist, end_msglist): Additional declarations. --- 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 + + * 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 * 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