gdb: fix vfork with multiple threads
[deliverable/binutils-gdb.git] / gdb / objc-lang.h
index 464c49b78f5e1cb81dc98eb859f39b6ddfc2d163..9d3e26d18a09ae6100032cdd933baf3538e20b19 100644 (file)
@@ -1,6 +1,6 @@
 /* Objective-C language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 1992-2015 Free Software Foundation, Inc.
+   Copyright (C) 1992-2021 Free Software Foundation, Inc.
 
    Contributed by Apple Computer, Inc.
 
@@ -20,8 +20,6 @@
 #if !defined(OBJC_LANG_H)
 #define OBJC_LANG_H
 
-#include "cp-support.h"                /* For VEC (const_char_ptr) */
-
 struct stoken;
 
 struct value;
@@ -29,26 +27,25 @@ struct block;
 struct parser_state;
 
 extern CORE_ADDR lookup_objc_class     (struct gdbarch *gdbarch,
-                                       char *classname);
+                                       const char *classname);
 extern CORE_ADDR lookup_child_selector (struct gdbarch *gdbarch,
-                                       char *methodname);
-
-extern char *objc_demangle (const char *mangled, int options);
+                                       const char *methodname);
 
 extern int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc);
 
-extern const char *
-  find_imps (const char *method, VEC (const_char_ptr) **symbol_names);
+extern const char *find_imps (const char *method,
+                             std::vector<const char *> *symbol_names);
 
 extern struct value *value_nsstring (struct gdbarch *gdbarch,
-                                    char *ptr, int len);
+                                    const 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 (struct parser_state *);
 
-struct symbol *lookup_struct_typedef (char *name, const struct block *block,
+struct symbol *lookup_struct_typedef (const char *name,
+                                     const struct block *block,
                                      int noerr);
 
 #endif
This page took 0.023682 seconds and 4 git commands to generate.