]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/valprint.h
import gdb-1999-07-07 post reformat
[thirdparty/binutils-gdb.git] / gdb / valprint.h
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.
4
5 This file is part of GDB.
6
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.
11
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.
16
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. */
21
22
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. */
26
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. */
32
33 extern unsigned int print_max; /* Max # of chars for strings/vectors */
34
35 extern int output_format;
36
37 extern int stop_print_at_null; /* Stop printing at null char? */
38
39 extern void
40 val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *,
41 int, int, int, enum val_prettyprint,
42 unsigned int));
43
44 extern void
45 val_print_type_code_int PARAMS ((struct type *, char *, GDB_FILE *));
46
47 extern void
48 print_binary_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
49
50 extern void
51 print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
52
53 extern void
54 print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));