]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/valprint.h
import gdb-1999-07-07 post reformat
[thirdparty/binutils-gdb.git] / gdb / valprint.h
CommitLineData
c906108c
SS
1/* Declarations for value printing routines for GDB, the GNU debugger.
2 Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994
c5aa993b 3 Free Software Foundation, Inc.
c906108c 4
c5aa993b 5 This file is part of GDB.
c906108c 6
c5aa993b
JM
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.
c906108c 11
c5aa993b
JM
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.
c906108c 16
c5aa993b
JM
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. */
c906108c
SS
21
22
23extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
24extern int prettyprint_structs; /* Controls pretty printing of structures */
25extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
26
27extern int vtblprint; /* Controls printing of vtbl's */
28extern int unionprint; /* Controls printing of nested unions. */
29extern int addressprint; /* Controls pretty printing of addresses. */
30extern int objectprint; /* Controls looking up an object's derived type
31 using what we find in its vtables. */
32
33extern unsigned int print_max; /* Max # of chars for strings/vectors */
34
35extern int output_format;
36
c5aa993b 37extern int stop_print_at_null; /* Stop printing at null char? */
c906108c
SS
38
39extern void
40val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *,
41 int, int, int, enum val_prettyprint,
42 unsigned int));
43
44extern void
45val_print_type_code_int PARAMS ((struct type *, char *, GDB_FILE *));
46
47extern void
48print_binary_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
c5aa993b 49
c906108c
SS
50extern void
51print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
c5aa993b 52
c906108c
SS
53extern void
54print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));