2002-05-13 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / valops.c
index cd5d4ca87f8ecb6b3dc2aa1a0b36b52f4f07d57d..798e31fc6462befabf7aecefc5bd00868edf86a0 100644 (file)
@@ -1488,7 +1488,7 @@ hand_function_call (struct value *function, int nargs, struct value **args)
        if (param_type)
          /* if this parameter is a pointer to function */
          if (TYPE_CODE (param_type) == TYPE_CODE_PTR)
-           if (TYPE_CODE (param_type->target_type) == TYPE_CODE_FUNC)
+           if (TYPE_CODE (TYPE_TARGET_TYPE (param_type)) == TYPE_CODE_FUNC)
              /* elz: FIXME here should go the test about the compiler used
                 to compile the target. We want to issue the error
                 message only if the compiler used was HP's aCC.
This page took 0.025463 seconds and 4 git commands to generate.