On fork-child.c:trace_start_error, va_end should refer to 'ap', not
'args. This fixes it.
Sorry about the breakage.
gdb/ChangeLog:
2017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/16188
* fork-child.c (trace_start_error): Fix thinko. va_end should
refer to 'ap', not 'args'.
+2017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR gdb/16188
+ * fork-child.c (trace_start_error): Fix thinko. va_end should
+ refer to 'ap', not 'args'.
+
2017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
Pedro Alves <palves@redhat.com>
fprintf_unfiltered (gdb_stderr, "Could not trace the inferior "
"process.\nError: ");
vfprintf_unfiltered (gdb_stderr, fmt, ap);
- va_end (args);
+ va_end (ap);
gdb_flush (gdb_stderr);
_exit (0177);