Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: samples/gdb-integration-run.sh

Issue 6995161: Extend gdb-jit support (OSX/locals+parameters/prettyprint) (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2 UNAMESTR=`uname`
3 if [[ "$UNAMESTR" == 'Linux' ]]; then
4 GDB='gdb'
5 elif [[ "$UNAMESTR" == 'Darwin' ]]; then
6 GDB='fsf-gdb'
7 fi
8 rm /tmp/elfdump*.o
9 GDB_ARGS="--command=samples/gdb-integration-prelude.gdb"
10 GDB_HEADLESS_ARGS="$GDB_ARGS --command=samples/gdb-integration.gdb"
11 JS_SHELL="gdb-integration_g"
12 JS_SHELL_ARGS="--gdbjit --gdbjit_full --gdbjit_dump_filter=gdb --gdbjit_dump --m ain-cycle-in-js samples/gdb-integration.js"
13 $GDB $GDB_HEADLESS_ARGS --args $JS_SHELL $JS_SHELL_ARGS
14 if [[ "$UNAMESTR" == 'Linux' ]]; then
15 objdump --dwarf /tmp/elfdumpgdbSomeFunction1.o
16 elif [[ "$UNAMESTR" == 'Darwin' ]]; then
17 otool -hl /tmp/elfdumpgdbSomeFunction1.o
18 fi
19 echo "$GDB $GDB_ARGS --args $JS_SHELL $JS_SHELL_ARGS"
OLDNEW
« no previous file with comments | « samples/gdb-integration-prelude.gdb ('k') | src/compiler.cc » ('j') | src/gdb-jit.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698