Skip to content

Instantly share code, notes, and snippets.

@ryuone
Created July 28, 2011 02:55
Show Gist options
  • Save ryuone/1110875 to your computer and use it in GitHub Desktop.
Save ryuone/1110875 to your computer and use it in GitHub Desktop.
Node(0.4.10等)をデバッグモード(--debug --gdb)でconfigureし、コンパイルしたときのエラー対処
diff --git a/deps/v8/src/compiler.cc b/deps/v8/src/compiler.cc
index 18f54c2..b4d20f1 100755
--- a/deps/v8/src/compiler.cc
+++ b/deps/v8/src/compiler.cc
@@ -800,7 +800,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag,
}
}
- GDBJIT(AddCode(name,
+ GDBJIT(AddCode(Handle<String>(shared->DebugName()),
Handle<Script>(info->script()),
Handle<Code>(info->code())));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment