* defs.h, main.c (catch_errors): Add return_mask arg.
[deliverable/binutils-gdb.git] / gdb / language.c
index 4f88b0a264beffaca0565572f57558e88d9fc886..4881aa18c27b8fdd5b794561bafd328c6942f00f 100644 (file)
@@ -1022,7 +1022,7 @@ type_error (va_alist)
    fprintf (stderr, "\n");
    va_end (args);
    if (type_check==type_check_on)
-      return_to_top_level();
+      return_to_top_level (RETURN_ERROR);
 }
 
 void
@@ -1043,7 +1043,7 @@ range_error (va_alist)
    fprintf (stderr, "\n");
    va_end (args);
    if (range_check==range_check_on)
-      return_to_top_level();
+      return_to_top_level (RETURN_ERROR);
 }
 
 \f
This page took 0.02415 seconds and 4 git commands to generate.