1 /* Objective C language support definitions for GDB, the GNU debugger.
2 Copyright 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20 #ifdef __STDC__ /* Forward decls for prototypes */
25 objc_parse PARAMS ((void)); /* Defined in c-exp.y */
28 objc_error PARAMS ((char *)); /* Defined in c-exp.y */
30 extern void /* Defined in c-typeprint.c */
31 c_print_type PARAMS ((struct type *, char *, struct ui_file *, int, int));
34 c_val_print PARAMS ((struct type *, char *, int, CORE_ADDR, struct ui_file *, int, int,
35 int, enum val_prettyprint));
38 c_value_print PARAMS ((struct value *, struct ui_file *, int,
39 enum val_prettyprint));
41 extern CORE_ADDR lookup_objc_class PARAMS ((char *classname));
42 extern int lookup_child_selector PARAMS ((char *methodname));
44 char *objc_demangle PARAMS ((const char *mangled));
46 int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc);
49 PARAMS ((char *method, char **selector));
52 PARAMS ((char *method, char *type, char **class, char **category, char **selector));
55 PARAMS ((struct symtab *symtab,
56 char type, const char *class, const char *category, const char *selector,
57 struct symbol **syms, unsigned int *nsym, unsigned int *ndebug));
60 PARAMS ((struct symtab *symtab, struct block *block,
61 char *method, struct symbol **syms, unsigned int *nsym, unsigned int *ndebug));