Commit | Line | Data |
---|---|---|
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 | ||
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 | ||
c5aa993b | 37 | extern int stop_print_at_null; /* Stop printing at null char? */ |
c906108c SS |
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)); | |
c5aa993b | 49 | |
c906108c SS |
50 | extern void |
51 | print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int)); | |
c5aa993b | 52 | |
c906108c SS |
53 | extern void |
54 | print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int)); |