GDB (API)
/home/stan/gdb/src/gdb/p-lang.h
Go to the documentation of this file.
00001 /* Pascal language support definitions for GDB, the GNU debugger.
00002 
00003    Copyright (C) 2000-2013 Free Software Foundation, Inc.
00004 
00005    This file is part of GDB.
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 /* This file is derived from c-lang.h */
00021 
00022 struct value;
00023 
00024 /* Defined in p-lang.c */
00025 extern const char *pascal_main_name (void);
00026 
00027 extern int pascal_parse (void); /* Defined in p-exp.y */
00028 
00029 extern void pascal_error (char *);      /* Defined in p-exp.y */
00030 
00031 /* Defined in p-typeprint.c */
00032 extern void pascal_print_type (struct type *, const char *, struct ui_file *,
00033                                int, int, const struct type_print_options *);
00034 
00035 extern void pascal_print_typedef (struct type *, struct symbol *,
00036                                   struct ui_file *);
00037 
00038 extern void pascal_val_print (struct type *, const gdb_byte *, int,
00039                               CORE_ADDR, struct ui_file *, int,
00040                               const struct value *,
00041                               const struct value_print_options *);
00042 
00043 extern void pascal_value_print (struct value *, struct ui_file *,
00044                                 const struct value_print_options *);
00045 
00046 extern void pascal_type_print_method_args (const char *, const char *,
00047                                            struct ui_file *);
00048 
00049 /* These are in p-lang.c: */
00050 
00051 extern int
00052   is_pascal_string_type (struct type *, int *, int *, int *,
00053                          struct type **, const char **);
00054 
00055 extern void pascal_printchar (int, struct type *, struct ui_file *);
00056 
00057 extern void pascal_printstr (struct ui_file *, struct type *, const gdb_byte *,
00058                              unsigned int, const char *, int,
00059                              const struct value_print_options *);
00060 
00061 extern struct type **const (pascal_builtin_types[]);
00062 
00063 /* These are in p-typeprint.c: */
00064 
00065 extern void
00066   pascal_type_print_base (struct type *, struct ui_file *, int, int,
00067                           const struct type_print_options *);
00068 
00069 extern void
00070   pascal_type_print_varspec_prefix (struct type *, struct ui_file *, int, int,
00071                                     const struct type_print_options *);
00072 
00073 extern void pascal_object_print_value_fields (struct type *, const gdb_byte *,
00074                                               int,
00075                                               CORE_ADDR, struct ui_file *,
00076                                               int,
00077                                               const struct value *,
00078                                               const struct value_print_options *,
00079                                               struct type **, int);
00080 
00081 extern int pascal_object_is_vtbl_ptr_type (struct type *);
00082 
00083 extern int pascal_object_is_vtbl_member (struct type *);
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines