]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/valprint.h
Initial creation of sourceware repository
[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, Boston, MA 02111-1307, USA. */
20
21
22 extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
23 extern int prettyprint_structs; /* Controls pretty printing of structures */
24 extern int prettyprint_arrays; /* Controls pretty printing of arrays. */
25
26 extern int vtblprint; /* Controls printing of vtbl's */
27 extern int unionprint; /* Controls printing of nested unions. */
28 extern int addressprint; /* Controls pretty printing of addresses. */
29 extern int objectprint; /* Controls looking up an object's derived type
30 using what we find in its vtables. */
31
32 extern unsigned int print_max; /* Max # of chars for strings/vectors */
33
34 extern int output_format;
35
36 extern int stop_print_at_null; /* Stop printing at null char? */
37
38 extern void
39 val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *,
40 int, int, int, enum val_prettyprint,
41 unsigned int));
42
43 extern void
44 val_print_type_code_int PARAMS ((struct type *, char *, GDB_FILE *));
45
46 extern void
47 print_binary_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
48
49 extern void
50 print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
51
52 extern void
53 print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
54