OSDN Git Service

Fix up some JDWP stuff
authorAndy McFadden <fadden@android.com>
Fri, 18 Mar 2011 21:27:06 +0000 (14:27 -0700)
committerAndy McFadden <fadden@android.com>
Tue, 22 Mar 2011 19:52:48 +0000 (12:52 -0700)
commit0970976b0e980be00424f93a69c2bc13ca3131f3
treedf37de5180d5f260a2a6e5647e790ca6b85e1823
parent479badfce1a5c910368eacae6af10c1ea7ffaffc
Fix up some JDWP stuff

Notably:
- Claim to know about synthetic attributes (canGetSyntheticAttribute).
  Set an appropriate flag in the access flags of fields and methods.
  (Makes no difference that I can see in Eclipse.)
- Stop making copies of descriptor strings.  That ceased to be necessary
  after they were normalized in DEX (pre-1.0).
- Correct object type determination, especially w.r.t. the specially-
  tagged types (strings, threads, classloaders, etc).
- Handle a FIELD_ONLY mod (not tested).
- Added a bit of debugging stuff.

Change-Id: I5651b5b76d904a9edbd051e039423795faaa1650
vm/Debugger.c
vm/Debugger.h
vm/Globals.h
vm/InitRefs.c
vm/jdwp/JdwpConstants.c
vm/jdwp/JdwpConstants.h
vm/jdwp/JdwpEvent.c
vm/jdwp/JdwpEvent.h
vm/jdwp/JdwpHandler.c