Skip to content
Permalink
Browse files

Enable NaCl loader logs by default

Several people have had problems with this, so enable (at a level which
does not produce too much output) for easier debugging.
  • Loading branch information...
slipher committed Apr 20, 2019
1 parent ff8c35f commit ff811a8e482f350295e771908fec0da4b0afe6a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/engine/framework/VirtualMachine.h
@@ -97,7 +97,7 @@ struct VMParams {
vmType("vm." + name + ".type", "how the vm should be loaded for " + name, vmTypeFlags,
Util::ordinal(vmType_t::TYPE_NACL), 0, Util::ordinal(vmType_t::TYPE_END) - 1),
debug("vm." + name + ".debug", "run a gdbserver on localhost:4014 to debug the VM", Cvar::NONE, false),
debugLoader("vm." + name + ".debugLoader", "make nacl_loader dump information to " + name + "-nacl_loader.log", Cvar::NONE, 0, 0, 5) {
debugLoader("vm." + name + ".debugLoader", "make nacl_loader dump information to " + name + "-nacl_loader.log", Cvar::NONE, 1, 0, 5) {
}

Cvar::Cvar<bool> logSyscalls;

0 comments on commit ff811a8

Please sign in to comment.
You can’t perform that action at this time.