diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-08 13:11:37 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-08 13:11:37 +0000 |
commit | 60fe970c211224a8bcb9a6763c7e32b080793f7a (patch) | |
tree | 06d2728faa9540dd1d6f5854f83de27f959c7367 | |
parent | 8c5a0a0efdb9adcb5133d9795e3a52565e25861e (diff) | |
download | chromium_src-60fe970c211224a8bcb9a6763c7e32b080793f7a.zip chromium_src-60fe970c211224a8bcb9a6763c7e32b080793f7a.tar.gz chromium_src-60fe970c211224a8bcb9a6763c7e32b080793f7a.tar.bz2 |
Add more debugging output to gypv8sh
BUG=370551
R=marja@chromium.org
Review URL: https://codereview.chromium.org/377893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281734 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | tools/gypv8sh.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/gypv8sh.py b/tools/gypv8sh.py index 8245f5b..0c3d096 100755 --- a/tools/gypv8sh.py +++ b/tools/gypv8sh.py @@ -48,6 +48,13 @@ def main (): cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=0) out, err = p.communicate() if p.returncode: + # TODO(jochen): Remove once crbug.com/370551 is resolved. + if sys.platform == 'darwin': + cmd[:0] = [ + 'gdb', '-batch', '-ex', 'run', '-ex' 'bt', '-ex', 'quit', '-args'] + p = subprocess.Popen( + cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=0) + out, err = p.communicate() raise Exception('Failed to run d8', out, err) with open(cxxoutfile, 'wb') as f: f.write(out) |