Implement debugger support for getting thread stacks.
You can now "where all" in jdb.
Change-Id: Iccff0427f39b2f2ab3786f05b89850d50b87adb2
diff --git a/src/dex_file.h b/src/dex_file.h
index d48067b..8e07dde 100644
--- a/src/dex_file.h
+++ b/src/dex_file.h
@@ -592,10 +592,6 @@
// This is used by runtime; therefore use art::Method not art::DexFile::Method.
int32_t GetLineNumFromPC(const Method* method, uint32_t rel_pc) const;
- void DecodeDebugInfo0(const CodeItem* code_item, const Method* method,
- DexDebugNewPositionCb posCb, DexDebugNewLocalCb local_cb,
- void* cnxt, const byte* stream, LocalInfo* local_in_reg) const;
-
void DecodeDebugInfo(const CodeItem* code_item, const Method* method,
DexDebugNewPositionCb posCb, DexDebugNewLocalCb local_cb,
void* cnxt) const;
@@ -661,6 +657,11 @@
// Returns true if the header magic is of the expected value.
bool IsMagicValid();
+ void DecodeDebugInfo0(const CodeItem* code_item, const Method* method,
+ DexDebugNewPositionCb posCb, DexDebugNewLocalCb local_cb,
+ void* cnxt, const byte* stream, LocalInfo* local_in_reg) const;
+
+
// The index of descriptors to class definition indexes.
// TODO: given type_ids are sorted by string_id index, and string_ids are alphabetically, class
// lookup can be done with a binary search. Is the index necessary?