gdb/gdbserver/ChangeLog:
* lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace
sets errno.
+2013-01-07 Joel Brobecker <brobecker@adacore.com>
+
+ * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace
+ sets errno.
+
2013-01-07 Joel Brobecker <brobecker@adacore.com>
* configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles.
ptid = thread_to_gdb_id (current_inferior);
regcache_invalidate ();
+
+ errno = 0;
lynx_ptrace (request, ptid, 1, signal, 0);
+ if (errno)
+ perror_with_name ("ptrace");
}
/* Resume the execution of the given PTID. */