From ee3ce2ed88bcb605d611a915f9b86163cc781a7f Mon Sep 17 00:00:00 2001 From: Ali Ijaz Sheikh Date: Mon, 6 Jul 2015 09:41:04 -0700 Subject: tools: install gdbinit from v8 to $PREFIX/share gdbinit provided by V8 can be very useful for low-level debugging of crashes in node and in binary addons. Most useful commands at 'jst' for JS stack traces and 'job' for printing a heap object. This patch installs the file at $PREFIX/share/doc/node/gdbinit. Reviewed-By: Ben Noordhuis PR-URL: https://github.com/nodejs/io.js/pull/2123 --- tools/install.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/install.py') diff --git a/tools/install.py b/tools/install.py index 4bacaadc4a..998ad6fbf5 100755 --- a/tools/install.py +++ b/tools/install.py @@ -149,6 +149,8 @@ def files(action): # behave similarly for systemtap action(['src/node.stp'], 'share/systemtap/tapset/') + action(['deps/v8/tools/gdbinit'], 'share/doc/node/') + if 'freebsd' in sys.platform or 'openbsd' in sys.platform: action(['doc/iojs.1'], 'man/man1/') else: -- cgit v1.2.3