New issue 1804 by kalm...@homejinni.com: GDBJIT: gdbjit cannot be enabled
since NewGC landed
http://code.google.com/p/v8/issues/detail?id=1804
Compiling with gdbjit=on (on any architecture) fails at two points.
First:
src/gdb-jit.cc:1130: error: 'JavaScriptFrameConstants' has not been declared
src/gdb-jit.cc:1178: error: 'JavaScriptFrameConstants' has not been declared
src/gdb-jit.cc:1190: error: 'JavaScriptFrameConstants' has not been declared
src/gdb-jit.cc:1201: error: 'StandardFrameConstants' has not been declared
This can be fixed by including frames-inl.h in gdb-jit.cc.
Second:
src/mark-compact.cc:471: error: 'compacting_collection_' was not declared
in this scope
This seems like leftover code from the old GC system, but I assume
something like this (disabled compacting) should be ported to NewGC.
Comment #1 on issue 1804 by mstar...@chromium.org: GDBJIT: gdbjit cannot
be enabled since NewGC landed
http://code.google.com/p/v8/issues/detail?id=1804
The GDB JIT interface is a nice thing to have. Unfortunately we do not emit
code deletion notifications at the moment which GDB might require. We might
be lucky for the non-code-compacting mode, but once code-compaction is
enabled, GDB JIT is definitely broken.
I'll take this one and talk to Slava about how we could solve this.
Comment #2 on issue 1804 by mstar...@chromium.org: GDBJIT: gdbjit cannot
be enabled since NewGC landed
http://code.google.com/p/v8/issues/detail?id=1804
When a get a round TUIT.
Issue 1999 has been merged into this issue.