GDB (API)
/home/stan/gdb/src/gdb/objc-lang.h
Go to the documentation of this file.
00001 /* Objective-C language support definitions for GDB, the GNU debugger.
00002 
00003    Copyright (C) 1992-2013 Free Software Foundation, Inc.
00004 
00005    Contributed by Apple Computer, Inc.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 3 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00019 
00020 #if !defined(OBJC_LANG_H)
00021 #define OBJC_LANG_H
00022 
00023 #include "cp-support.h"         /* For VEC (const_char_ptr) */
00024 
00025 struct stoken;
00026 
00027 struct value;
00028 struct block;
00029 
00030 extern CORE_ADDR lookup_objc_class     (struct gdbarch *gdbarch,
00031                                         char *classname);
00032 extern CORE_ADDR lookup_child_selector (struct gdbarch *gdbarch,
00033                                         char *methodname);
00034 
00035 extern char *objc_demangle (const char *mangled, int options);
00036 
00037 extern int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc);
00038 
00039 extern const char *
00040   find_imps (const char *method, VEC (const_char_ptr) **symbol_names);
00041 
00042 extern struct value *value_nsstring (struct gdbarch *gdbarch,
00043                                      char *ptr, int len);
00044 
00045 /* for parsing Objective C */
00046 extern void start_msglist (void);
00047 extern void add_msglist (struct stoken *str, int addcolon);
00048 extern int end_msglist (void);
00049 
00050 struct symbol *lookup_struct_typedef (char *name, const struct block *block,
00051                                       int noerr);
00052 
00053 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines