2007-08-21 Michael Snyder <msnyder@access-company.com>

* valops.c (find_overload_match): Guard against NULL.
This commit is contained in:
Michael Snyder 2007-08-22 01:53:19 +00:00
parent 54e116dd35
commit a2ca50ae64
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-08-21 Michael Snyder <msnyder@access-company.com>
* valops.c (find_overload_match): Guard against NULL.
2007-08-21 Daniel Jacobowitz <dan@codesourcery.com>
* MAINTAINERS (Patch Champions): Remove self.
@ -7,7 +11,7 @@
* cli/cli-script.c (read_command_lines): Call dont_repeat for each
line.
2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
2007-08-18 Michael Snyder <msnyder@access-company.com>
* stabsread.c (dbx_lookup_type): Memory leak.

View File

@ -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. */