aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 07:52:09 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:06 -0700
commitd0c9791728caa0d3b3270a997c7fd97919976c97 (patch)
tree1753b7232efa89e05696d4289d60ad019fc161e4 /gdb/cp-abi.c
parent7cf57bc5be656c62cc6b80280a9eddad2b8ded3f (diff)
downloadgdb-d0c9791728caa0d3b3270a997c7fd97919976c97.zip
gdb-d0c9791728caa0d3b3270a997c7fd97919976c97.tar.gz
gdb-d0c9791728caa0d3b3270a997c7fd97919976c97.tar.bz2
Turn value_type into method
This changes value_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r--gdb/cp-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index 87a3b5c..538d314 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -111,7 +111,7 @@ value_rtti_type (struct value *v, int *full,
struct type *ret = NULL;
if ((current_cp_abi.rtti_type) == NULL
- || !HAVE_CPLUS_STRUCT (check_typedef (value_type (v))))
+ || !HAVE_CPLUS_STRUCT (check_typedef (v->type ())))
return NULL;
try
{