diff options
Diffstat (limited to 'gdb/python/py-xmethods.c')
-rw-r--r-- | gdb/python/py-xmethods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-xmethods.c b/gdb/python/py-xmethods.c index d3afd26..2db6793 100644 --- a/gdb/python/py-xmethods.c +++ b/gdb/python/py-xmethods.c @@ -580,7 +580,7 @@ python_xmethod_worker::invoke (struct value *obj, } else { - res = allocate_value (lookup_typename (current_language, + res = value::allocate (lookup_typename (current_language, "void", NULL, 0)); } |