darwin-nat.c: Do not use gdb_assert on system call outcomes.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9091b68a3a70ecb8d1e6f24b1d567c8660591fc9..1988872656d5dc5e3b729c258b756976ef29c274 100644 (file)
@@ -1,3 +1,14 @@
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat.c (darwin_mourn_inferior): Replace call to
+       gdb_assert by call to MACH_CHECK_ERROR.
+       (darwin_attach_pid): Raise an error rather than a failed
+       assertion when various system calls failed.  Report a warning
+       instead of raising a failed assertion when PREV_NOT is not NULL
+       after call to mach_port_request_notification.
+       (darwin_ptrace_me): Raise an error rather than a failed
+       assertion when read returns nonzero.
+
 2013-05-06  Joel Brobecker  <brobecker@adacore.com>
 
        * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".
This page took 0.023393 seconds and 4 git commands to generate.