[NaCl SDK] Fix PNACL for debugging.
commit71980fdf7fa8916d543226ad36f50f13cc13f928
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 10 Aug 2013 22:59:37 +0000 (10 22:59 +0000)
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 10 Aug 2013 22:59:37 +0000 (10 22:59 +0000)
treea5716eb45221e44444b7177678029dc8386e6b68
parent532ecc2d2d946d64be12a3a84047f9d7d478a701
[NaCl SDK] Fix PNACL for debugging.

make TOOLCHAIN=pnacl DEBUG is broken.

This CL redirects all nacl-gdb calls to the gdb in newlib.
For DEBUG builds, the EXECUTABLES=*.nexe
For RELESE builds, the EXECUTABLES=*.pexe

This creates a dependency on the *.bc -> *.nexe translation and
feeds the output the the NMF generator, making the debugging case
essitial the same as newlib.

For RELEASE configs, we build a finalized .pexe and load that.

common.js now only use application-pnacl for release versions.

BUG=270745
R=sbc@chromium.org

Review URL: https://codereview.chromium.org/22766003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216888 0039d316-1c4b-4281-b951-d872f2087c98
native_client_sdk/src/examples/common.js
native_client_sdk/src/tools/common.mk
native_client_sdk/src/tools/nacl_llvm.mk