*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / objc-lang.h
CommitLineData
b81654f1
MS
1/* Objective C language support definitions for GDB, the GNU debugger.
2 Copyright 1992 Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20#ifdef __STDC__ /* Forward decls for prototypes */
21struct value;
22#endif
23
24extern int
25objc_parse PARAMS ((void)); /* Defined in c-exp.y */
26
27extern void
28objc_error PARAMS ((char *)); /* Defined in c-exp.y */
29
30extern void /* Defined in c-typeprint.c */
31c_print_type PARAMS ((struct type *, char *, struct ui_file *, int, int));
32
33extern int
34c_val_print PARAMS ((struct type *, char *, int, CORE_ADDR, struct ui_file *, int, int,
35 int, enum val_prettyprint));
36
37extern int
38c_value_print PARAMS ((struct value *, struct ui_file *, int,
39 enum val_prettyprint));
40
41extern CORE_ADDR lookup_objc_class PARAMS ((char *classname));
42extern int lookup_child_selector PARAMS ((char *methodname));
43
44char *objc_demangle PARAMS ((const char *mangled));
45
46int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc);
47
48char *parse_selector
49PARAMS ((char *method, char **selector));
50
51char *parse_method
52PARAMS ((char *method, char *type, char **class, char **category, char **selector));
53
54void find_methods
55PARAMS ((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
59char *find_imps
60PARAMS ((struct symtab *symtab, struct block *block,
61 char *method, struct symbol **syms, unsigned int *nsym, unsigned int *ndebug));
This page took 0.02686 seconds and 4 git commands to generate.