* gcc.dg/guality/guality.h (main): Add argv[0] to
guality_gdb_command.
From-SVN: r220237
+2015-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/guality/guality.h (main): Add argv[0] to
+ guality_gdb_command.
+
2015-01-29 Jan Hubicka <hubicka@ucw.cz>
PR ipa/64801
# Disable on darwin until radr://7264615 is resolved.
if { [istarget *-*-darwin*] } {
- return
+ return
}
if { [istarget "powerpc-ibm-aix*"] } {
# Disable on darwin until radr://7264615 is resolved.
if { [istarget *-*-darwin*] } {
- return
+ return
}
if { [istarget "powerpc-ibm-aix*"] } {
}
}
+ if (argv[0])
+ {
+ int len = strlen (guality_gdb_command) + 1 + strlen (argv[0]);
+ char *buf = (char *) __builtin_alloca (len);
+ strcpy (buf, guality_gdb_command);
+ strcat (buf, " ");
+ strcat (buf, argv[0]);
+ guality_gdb_command = buf;
+ }
+
for (i = 1; i < argc; i++)
if (strcmp (argv[i], "--guality-skip") == 0)
guality_skip = 1;