Start of HP merge changes to GDB.
[binutils-gdb.git] / gdb / valprint.h
index 5918def07e68f6c6b3c770b514d017eb0409602e..e6edb15c650414349ae3f74572369e7fa948884b 100644 (file)
@@ -1,5 +1,6 @@
 /* Declarations for value printing routines for GDB, the GNU debugger.
-   Copyright 1986, 1988, 1989, 1991 Free Software Foundation, Inc.
+   Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994
+             Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -15,7 +16,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
 extern int prettyprint_arrays; /* Controls pretty printing of arrays.  */
@@ -29,12 +30,25 @@ extern int objectprint;             /* Controls looking up an object's derived type
                                   using what we find in its vtables.  */
 
 extern unsigned int print_max; /* Max # of chars for strings/vectors */
+
 extern int output_format;
 
+extern int stop_print_at_null;  /* Stop printing at null char? */
+
+extern void
+val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, GDB_FILE *,
+                                 int, int, int, enum val_prettyprint,
+                                 unsigned int));
+
 extern void
-val_print_array_elements PARAMS ((struct type *, char *, CORE_ADDR, FILE *,
-                                 int, int, int, enum val_prettyprint, int));
+val_print_type_code_int PARAMS ((struct type *, char *, GDB_FILE *));
 
 extern void
-val_print_type_code_int PARAMS ((struct type *, char *, FILE *));
+print_binary_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
+extern void
+print_octal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));
+extern void
+print_decimal_chars PARAMS ((GDB_FILE *, unsigned char *, unsigned int));