Fix stack walking when top frame has null method pointer.

Changed the do-while loop to just a while loop in the stack walk. This
fixes the case where the top frame has a null method pointer, which can
happen during instrumentation.

Change-Id: If7d67cd315d31bac4c1bbe31d6e385612b182935
2 files changed
tree: 1ffeecc0d83c3ec6158bcdbaf8851e716f24f2d7
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/