Sat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)

* valops.c (value_struct_elt): Check for (value)-1 return from
	search_struct_method.
This commit is contained in:
Jim Kingdon 1993-12-25 19:28:47 +00:00
parent 04f566a356
commit 008d4449a7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* valops.c (value_struct_elt): Check for (value)-1 return from
search_struct_method.
Sat Dec 25 09:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
@ -207,7 +212,7 @@ Mon Nov 29 16:48:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Mon Nov 29 12:23:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* mipsread.c (parse_symbol, parse_partial_symbols): Do not create
* mipsread.c (parse_symbol, parse_partial_symbols): Do not create
(partial) symbols for opaque struct definitions.
Mon Nov 29 11:36:57 1993 Stu Grossman (grossman at cygnus.com)

View File

@ -1550,7 +1550,7 @@ value_struct_elt (argp, args, name, static_memfuncp, err)
v = search_struct_method (name, argp, args, 0, static_memfuncp, t);
if (v == 0)
if (v == 0 || v == (value) -1)
{
if (TYPE_NFN_FIELDS (t))
error ("There is no member or method named %s.", name);