aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-02-02 00:21:19 +0000
committerJason Molenda <jmolenda@apple.com>2000-02-02 00:21:19 +0000
commitd9fcf2fb1c12d48f657c974dc5b6898022bf9ccf (patch)
tree174ea6281f2933a803a1a4dc262133a462934b6d /gdb/cp-valprint.c
parentda59e08184255e09e51e54bb356e4448d33b2245 (diff)
downloadgdb-d9fcf2fb1c12d48f657c974dc5b6898022bf9ccf.zip
gdb-d9fcf2fb1c12d48f657c974dc5b6898022bf9ccf.tar.gz
gdb-d9fcf2fb1c12d48f657c974dc5b6898022bf9ccf.tar.bz2
import gdb-2000-02-01 snapshot
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c34
1 files changed, 18 insertions, 16 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 4ec0853..b70ef21 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -1,5 +1,5 @@
/* Support for printing C++ values for GDB, the GNU debugger.
- Copyright 1986, 1988, 1989, 1991, 1994, 1995, 1996
+ Copyright 1986, 1988, 1989, 1991, 1994-1996, 2000
Free Software Foundation, Inc.
This file is part of GDB.
@@ -47,24 +47,26 @@ static struct obstack dont_print_statmem_obstack;
extern void _initialize_cp_valprint PARAMS ((void));
-static void
-cp_print_static_field PARAMS ((struct type *, value_ptr, GDB_FILE *, int, int,
- enum val_prettyprint));
+static void cp_print_static_field (struct type *, value_ptr,
+ struct ui_file *, int, int,
+ enum val_prettyprint);
-static void
-cp_print_value PARAMS ((struct type *, struct type *, char *, int, CORE_ADDR, GDB_FILE *,
- int, int, enum val_prettyprint, struct type **));
+static void cp_print_value (struct type *, struct type *, char *, int,
+ CORE_ADDR, struct ui_file *, int, int,
+ enum val_prettyprint, struct type **);
-static void
-cp_print_hpacc_virtual_table_entries PARAMS ((struct type *, int *, value_ptr, GDB_FILE *,
- int, int, enum val_prettyprint));
+static void cp_print_hpacc_virtual_table_entries (struct type *, int *,
+ value_ptr,
+ struct ui_file *, int,
+ int,
+ enum val_prettyprint);
void
cp_print_class_method (valaddr, type, stream)
char *valaddr;
struct type *type;
- GDB_FILE *stream;
+ struct ui_file *stream;
{
struct type *domain;
struct fn_field *f = NULL;
@@ -237,7 +239,7 @@ cp_print_value_fields (type, real_type, valaddr, offset, address, stream, format
char *valaddr;
int offset;
CORE_ADDR address;
- GDB_FILE *stream;
+ struct ui_file *stream;
int format;
int recurse;
enum val_prettyprint pretty;
@@ -500,7 +502,7 @@ cp_print_value (type, real_type, valaddr, offset, address, stream, format, recur
char *valaddr;
int offset;
CORE_ADDR address;
- GDB_FILE *stream;
+ struct ui_file *stream;
int format;
int recurse;
enum val_prettyprint pretty;
@@ -628,7 +630,7 @@ static void
cp_print_static_field (type, val, stream, format, recurse, pretty)
struct type *type;
value_ptr val;
- GDB_FILE *stream;
+ struct ui_file *stream;
int format;
int recurse;
enum val_prettyprint pretty;
@@ -669,7 +671,7 @@ void
cp_print_class_member (valaddr, domain, stream, prefix)
char *valaddr;
struct type *domain;
- GDB_FILE *stream;
+ struct ui_file *stream;
char *prefix;
{
@@ -748,7 +750,7 @@ cp_print_hpacc_virtual_table_entries (type, vfuncs, v, stream, format, recurse,
struct type *type;
int *vfuncs;
value_ptr v;
- GDB_FILE *stream;
+ struct ui_file *stream;
int format;
int recurse;
enum val_prettyprint pretty;