This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5]
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Adam Fedor <fedor at doc dot com>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Thu, 20 Mar 2003 16:35:11 -0500
- Subject: Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5]
- References: <3E16093D.3070907@doc.com>
Index: parser-defs.h
===================================================================
RCS file: /cvs/src/src/gdb/parser-defs.h,v
retrieving revision 1.15
diff -u -p -r1.15 parser-defs.h
--- parser-defs.h 19 Nov 2002 03:15:01 -0000 1.15
+++ parser-defs.h 3 Jan 2003 03:06:25 -0000
@@ -223,4 +223,9 @@ struct op_print
extern void parser_fprintf (FILE *, const char *, ...) ATTR_FORMAT (printf, 2 ,3);
+/* for parsing Objective C */
+extern void start_msglist (void);
+extern void add_msglist (struct stoken *str, int addcolon);
+extern int end_msglist (void);
+
#endif /* PARSER_DEFS_H */
Adam,
I think the above declarations belong in "objc-lang.h" (since the
corresponding definitions are in "objc-lang.c"). With that tweak, are
you able to build a GDB that only links in objc-exp.[yo]?
Andrew