1 /* Declarations for value printing routines for GDB, the GNU debugger.
2 Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994
3 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
23 extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
24 extern int prettyprint_structs; /* Controls pretty printing of structures */
25 extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
27 extern int vtblprint; /* Controls printing of vtbl's */
28 extern int unionprint; /* Controls printing of nested unions. */
29 extern int addressprint; /* Controls pretty printing of addresses. */
30 extern int objectprint; /* Controls looking up an object's derived type
31 using what we find in its vtables. */
33 extern unsigned int print_max; /* Max # of chars for strings/vectors */
35 extern int output_format;
37 extern int stop_print_at_null; /* Stop printing at null char? */
40 val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *,
41 int, int, int, enum val_prettyprint,
45 val_print_type_code_int PARAMS ((struct type *, char *, GDB_FILE *));
48 print_binary_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
51 print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
54 print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));