daily update
[deliverable/binutils-gdb.git] / gdb / stack.c
index 35d379d55ec24e9561b7992ce8e0e2aea37790ff..51747ead38e78028bd31962d5a77589d349c662c 100644 (file)
@@ -2308,7 +2308,8 @@ return_command (char *retval_exp, int from_tty)
        return_type = TYPE_TARGET_TYPE (SYMBOL_TYPE (thisfun));
       if (return_type == NULL)
        {
-         if (retval_expr->elts[0].opcode != UNOP_CAST)
+         if (retval_expr->elts[0].opcode != UNOP_CAST
+             && retval_expr->elts[0].opcode != UNOP_CAST_TYPE)
            error (_("Return value type not available for selected "
                     "stack frame.\n"
                     "Please use an explicit cast of the value to return."));
This page took 0.023924 seconds and 4 git commands to generate.