The .pexe
is not the final executable, and nacl-gdb does not understand its format. It's a target-independent "intermediate format" file that has to be translated by the browser to a native module before it can be executed and/or debugged.
You can debug .nexe
s produced by the PNaCl toolchain, by compiling all the way to a .nexe
with debug information and then debugging that. In other words, just as you debug a .nexe
produced by the gcc toolchains.