Fix signal-while-stepping-over-bp-other-thread.exp on targets always in non-stop
[deliverable/binutils-gdb.git] / gdb / objc-lang.h
index 593ef022221e1c2a230123ee94be0431d398c691..464c49b78f5e1cb81dc98eb859f39b6ddfc2d163 100644 (file)
@@ -1,6 +1,6 @@
 /* Objective-C language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 1992, 2005, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 1992-2015 Free Software Foundation, Inc.
 
    Contributed by Apple Computer, Inc.
 
@@ -26,10 +26,7 @@ struct stoken;
 
 struct value;
 struct block;
-
-extern int objc_parse (void);          /* Defined in c-exp.y */
-
-extern void objc_error (char *);       /* Defined in c-exp.y */
+struct parser_state;
 
 extern CORE_ADDR lookup_objc_class     (struct gdbarch *gdbarch,
                                        char *classname);
@@ -40,7 +37,8 @@ extern char *objc_demangle (const char *mangled, int options);
 
 extern int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc);
 
-extern char *find_imps (char *method, VEC (const_char_ptr) **symbol_names);
+extern const char *
+  find_imps (const char *method, VEC (const_char_ptr) **symbol_names);
 
 extern struct value *value_nsstring (struct gdbarch *gdbarch,
                                     char *ptr, int len);
@@ -48,9 +46,9 @@ extern struct value *value_nsstring (struct gdbarch *gdbarch,
 /* for parsing Objective C */
 extern void start_msglist (void);
 extern void add_msglist (struct stoken *str, int addcolon);
-extern int end_msglist (void);
+extern int end_msglist (struct parser_state *);
 
-struct symbol *lookup_struct_typedef (char *name, struct block *block,
+struct symbol *lookup_struct_typedef (char *name, const struct block *block,
                                      int noerr);
 
 #endif
This page took 0.023582 seconds and 4 git commands to generate.