summaryrefslogtreecommitdiff
path: root/gdb/findcmd.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/findcmd.c
parent7cf57bc5be656c62cc6b80280a9eddad2b8ded3f (diff)
downloadbinutils-gdb-d0c9791728caa0d3b3270a997c7fd97919976c97.tar.gz
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/findcmd.c')
-rw-r--r--gdb/findcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 637d3fdfaf9..42604b1e85e 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -162,7 +162,7 @@ parse_find_args (const char *args, ULONGEST *max_countp,
s = skip_spaces (s);
v = parse_to_comma_and_eval (&s);
- t = value_type (v);
+ t = v->type ();
if (size != '\0')
{