Commit | Line | Data |
---|---|---|
b81654f1 MS |
1 | /* Objective C language support definitions for GDB, the GNU debugger. |
2 | Copyright 1992 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
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. | |
10 | ||
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. | |
15 | ||
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. */ | |
19 | ||
20 | #ifdef __STDC__ /* Forward decls for prototypes */ | |
21 | struct value; | |
22 | #endif | |
23 | ||
24 | extern int | |
25 | objc_parse PARAMS ((void)); /* Defined in c-exp.y */ | |
26 | ||
27 | extern void | |
28 | objc_error PARAMS ((char *)); /* Defined in c-exp.y */ | |
29 | ||
30 | extern void /* Defined in c-typeprint.c */ | |
31 | c_print_type PARAMS ((struct type *, char *, struct ui_file *, int, int)); | |
32 | ||
33 | extern int | |
34 | c_val_print PARAMS ((struct type *, char *, int, CORE_ADDR, struct ui_file *, int, int, | |
35 | int, enum val_prettyprint)); | |
36 | ||
37 | extern int | |
38 | c_value_print PARAMS ((struct value *, struct ui_file *, int, | |
39 | enum val_prettyprint)); | |
40 | ||
41 | extern CORE_ADDR lookup_objc_class PARAMS ((char *classname)); | |
42 | extern int lookup_child_selector PARAMS ((char *methodname)); | |
43 | ||
44 | char *objc_demangle PARAMS ((const char *mangled)); | |
45 | ||
46 | int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc); | |
47 | ||
48 | char *parse_selector | |
49 | PARAMS ((char *method, char **selector)); | |
50 | ||
51 | char *parse_method | |
52 | PARAMS ((char *method, char *type, char **class, char **category, char **selector)); | |
53 | ||
54 | void find_methods | |
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)); | |
58 | ||
59 | char *find_imps | |
60 | PARAMS ((struct symtab *symtab, struct block *block, | |
61 | char *method, struct symbol **syms, unsigned int *nsym, unsigned int *ndebug)); |