This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wednesday 02 March 2011 18:01:18, Michael Snyder wrote:Pedro Alves wrote:OK. How about this then?--- linux-nat.c 1 Mar 2011 00:40:22 -0000 1.197 +++ linux-nat.c 1 Mar 2011 23:50:34 -0000 @@ -4045,7 +4045,7 @@ linux_thread_alive (ptid_t ptid) fprintf_unfiltered (gdb_stdlog, "LLTA: KILL(SIG0) %s (%s)\n", target_pid_to_str (ptid), - err ? safe_strerror (err) : "OK"); + err ? safe_strerror (errno) : "OK");Not 100% correct. target_pid_to_str is allowed to clobber errno (as any function call is).
That's it, thanks.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |