Fix thinko on last commit
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'.
This commit is contained in:
parent
9c7e3b0e6b
commit
1b076f2540
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ trace_start_error (const char *fmt, ...)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue