Implement a bit more debugger functionality.

This fixes the deadlock by making SuspendSelfForDebugger not take the thread
list lock, making it more like the equivalent code in dalvikvm.

There's also some code cleanup, and a few more of the JDWP calls jdb makes
on startup. By fixing the deadlock, attaching jdb now causes us to hit
unimplemented code relating to thread stacks. That's tomorrow's job...

Change-Id: I7eac1b95946228fa60666587ff8766bcabb28bb1
9 files changed
tree: 62a9d0c880c5412050e3eabe73c106c5374555dc
  1. Android.mk
  2. build/
  3. oat_process/
  4. oat_runtime/
  5. src/
  6. test/
  7. tools/