Add --event-horizon=yes|no [yes] so that the limit on errors shown
can be disabled if desired.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@414 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 29cd3d6..ceec5d0 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -399,6 +399,7 @@
    Values derived from command-line options.
    ------------------------------------------------------------------ */
 
+Bool   VG_(clo_event_horizon);
 Bool   VG_(clo_check_addrVs);
 Bool   VG_(clo_GDB_attach);
 Int    VG_(sanity_level);
@@ -532,6 +533,7 @@
 #  define STREQN(nn,s1,s2) (0==VG_(strncmp_ws)((s1),(s2),(nn)))
 
    /* Set defaults. */
+   VG_(clo_event_horizon)    = True;
    VG_(clo_check_addrVs)     = True;
    VG_(clo_GDB_attach)       = False;
    VG_(sanity_level)         = 1;
@@ -708,6 +710,11 @@
       else if (STREQ(argv[i], "-q") || STREQ(argv[i], "--quiet"))
          VG_(clo_verbosity)--;
 
+      else if (STREQ(argv[i], "--event-horizon=yes"))
+         VG_(clo_event_horizon) = True;
+      else if (STREQ(argv[i], "--event-horizon=no"))
+         VG_(clo_event_horizon) = False;
+
       else if (STREQ(argv[i], "--check-addrVs=yes"))
          VG_(clo_check_addrVs) = True;
       else if (STREQ(argv[i], "--check-addrVs=no"))