aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-10 20:44:38 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-10 20:44:38 +0000
commit6943961c9855edf1dd701b0047483f6a8bca6d90 (patch)
treecaf5d6f451b8ada066db66456f11814c36dd49ac /gdb/ch-valprint.c
parent610510309ffc52182d773bdb9971dbecc711281d (diff)
downloadgdb-6943961c9855edf1dd701b0047483f6a8bca6d90.zip
gdb-6943961c9855edf1dd701b0047483f6a8bca6d90.tar.gz
gdb-6943961c9855edf1dd701b0047483f6a8bca6d90.tar.bz2
s/value_ptr/struct value */
Diffstat (limited to 'gdb/ch-valprint.c')
-rw-r--r--gdb/ch-valprint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ch-valprint.c b/gdb/ch-valprint.c
index 0a893eb..77109b5 100644
--- a/gdb/ch-valprint.c
+++ b/gdb/ch-valprint.c
@@ -1,6 +1,6 @@
/* Support for printing Chill values for GDB, the GNU debugger.
Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 2000
+ 1998, 2000, 2001
Free Software Foundation, Inc.
This file is part of GDB.
@@ -445,7 +445,7 @@ chill_val_print (struct type *type, char *valaddr, int embedded_offset,
{
if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_UNDEF)
{
- value_ptr deref_val =
+ struct value *deref_val =
value_at
(TYPE_TARGET_TYPE (type),
unpack_pointer (lookup_pointer_type (builtin_type_void),
@@ -537,7 +537,7 @@ chill_print_value_fields (struct type *type, char *valaddr,
fputs_filtered (": ", stream);
if (TYPE_FIELD_PACKED (type, i))
{
- value_ptr v;
+ struct value *v;
/* Bitfields require special handling, especially due to byte
order problems. */
@@ -564,7 +564,7 @@ chill_print_value_fields (struct type *type, char *valaddr,
}
int
-chill_value_print (value_ptr val, struct ui_file *stream, int format,
+chill_value_print (struct value *val, struct ui_file *stream, int format,
enum val_prettyprint pretty)
{
struct type *type = VALUE_TYPE (val);