+2021-06-10 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
+
+ * gdb.base/foll-exec.c: convert the multi-line function call into
+ single line.
+
2021-06-10 Tom de Vries <tdevries@suse.de>
* lib/cp-support.exp (cp_test_ptype_class): Break up regexp.
memcpy (prog + len - 9, "execd-prog", 10);
prog[len + 1] = 0;
- execlp (prog, /* tbreak-execlp */
- prog,
- "execlp arg1 from foll-exec",
- (char *) 0);
+ /* In the following function call, maximum line length exceed the limit 80.
+ This is intentional and required for clang compiler such that complete
+ function call should be in a single line, please do not make it
+ multi-line. */
+ execlp (prog, /* tbreak-execlp */ prog, "execlp arg1 from foll-exec", (char *) 0);
printf ("foll-exec is about to execl(execd-prog)...\n");
- execl (prog, /* tbreak-execl */
- prog,
- "execl arg1 from foll-exec",
- "execl arg2 from foll-exec",
- (char *) 0);
+ /* In the following function call, maximum line length exceed the limit 80.
+ This is intentional and required for clang compiler such that complete
+ function call should be in a single line, please do not make it
+ multi-line. */
+ execl (prog, /* tbreak-execl */ prog, "execl arg1 from foll-exec", "execl arg2 from foll-exec", (char *) 0);
{
static char * argv[] = {