forked from Imagelibrary/binutils-gdb
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user