diff options
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 0a5ae14b6a..433099ea61 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1895,6 +1895,7 @@ find_overload_match (struct type **arg_types, int nargs, /* Get the list of overloaded methods or functions. */ if (method) { + gdb_assert (obj); obj_type_name = TYPE_NAME (value_type (obj)); /* Hack: evaluate_subexp_standard often passes in a pointer value rather than the object itself, so try again. */ |