Imported Upstream version 1.3.1
[platform/upstream/libunwind.git] / tests / test-ptrace.c
index a5b71dd..e7c7883 100644 (file)
@@ -182,6 +182,11 @@ main (int argc, char **argv)
 
       /* automated test case */
       argv = args;
+
+      /* Unless the args array is 'walked' the child
+         process is unable to access it and dies with a segfault */
+      fprintf(stderr, "Automated test (%s,%s,%s,%s)\n",
+              args[0],args[1],args[2],args[3]);
     }
   else if (argc > 1)
     while (argv[optind][0] == '-')