[Lldb-commits] [PATCH] D61310: [lldb] [Process/NetBSD] Fix handling EOF in PT_IO when reading memory

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 30 07:09:46 PDT 2019


krytarowski requested changes to this revision.
krytarowski added a comment.
This revision now requires changes to proceed.

I think there is a bug thought in the code.

1. bytes_read should return the bytes transferred from the function, it returns the value from the previous iteration only
2. `bytes_read != 0` should be replaced with `io.piod_len != 0`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61310/new/

https://reviews.llvm.org/D61310





More information about the lldb-commits mailing list