Turn deprecated_set_value_type into a method

This changes deprecated_set_value_type to be a method of value.  Much
of this patch was written by script.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
Tom Tromey
2023-01-31 08:24:35 -07:00
parent d0c9791728
commit 81ae560ca4
9 changed files with 25 additions and 35 deletions

View File

@@ -212,7 +212,7 @@ value_nsstring (struct gdbarch *gdbarch, const char *ptr, int len)
else
type = lookup_pointer_type(sym->type ());
deprecated_set_value_type (nsstringValue, type);
nsstringValue->deprecated_set_type (type);
return nsstringValue;
}