diff options
| author | Andy McFadden <fadden@android.com> | 2011-02-18 13:25:40 -0800 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2011-03-08 15:33:46 -0800 |
| commit | 88fefea6b1f3b3b6b3c155595aa63b3364b2f103 (patch) | |
| tree | f47a39358083b05b7a1f6fd26462a69aeb0f2276 /vm/compiler/codegen/CompilerCodegen.h | |
| parent | 0872891a11bd1d74dbff1a85316fc4fb1029ecb3 (diff) | |
Use an explicit fp in dvmPlatformInvoke
When calling a JNI method we have to push a variable number of
arguments onto the stack. This confuses the stack unwinders in
gdb and debuggerd.
It turns out that the unroll tables consulted by debuggerd let
you specify a frame pointer register. If we set that up, we can
get a full debuggerd trace. gdb is still confused though.
We now need to preserve fp on entry, but we no longer need to save
off sp, and as a result of some additional register shuffling we
also no longer need to save r4 and r5.
Bug 3466808
Change-Id: I5fda1deae330e698553657dc233bd06476b25ce2
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
