2007-08-13 Michael Snyder * valops.c (find_overload_match): Guard against NULL. Index: valops.c =================================================================== RCS file: /cvs/src/src/gdb/valops.c,v retrieving revision 1.176 diff -p -r1.176 valops.c *** valops.c 14 Aug 2007 00:31:40 -0000 1.176 --- valops.c 14 Aug 2007 00:33:35 -0000 *************** find_overload_match (struct type **arg_t *** 1895,1900 **** --- 1895,1901 ---- /* 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. */