comparison Paper/src/origin_breakpoint.txt @ 20:2bf64cfb91b1

add CbC evaluation and CbCinterp fig
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:57:59 +0900
parents
children 7a2d604607d8
comparison
equal deleted inserted replaced
19:3e4ffa621ae9 20:2bf64cfb91b1
1 dalmore gdb --args ../../MoarVM_Original/MoarVM/moar --libpath=src/vm/moar/stage0 gen/moar/stage1/nqp
2 (gdb) b dummy
3 Function "dummy" not defined.
4 Make breakpoint pending on future shared library load? (y or [n]) y
5 Breakpoint 1 (dummy) pending.
6 (gdb) command 1
7 Type commands for breakpoint(s) 1, one per line.
8 End with a line saying just "end".
9 >up
10 >p *(MVMuint16 *)(cur_op)
11 >c
12 >end
13 (gdb) c
14 The program is not being run.
15 (gdb) run
16 Starting program: /mnt/dalmore-home/one/src/Perl6/nqp/../../MoarVM_Original/MoarVM/moar --libpath=src/vm/moar/stage0 gen/moar/stage1/nqp.moarvm
17 [Thread debugging using libthread_db enabled]
18 Using host libthread_db library "/lib64/libthread_db.so.1".
19 [New Thread 0x7ffff629a700 (LWP 176412)]
20
21 Breakpoint 1, dummy () at src/core/interp.c:46
22 46 }
23 #1 0x00007ffff75608fe in MVM_interp_run (tc=0x604a20,
24 initial_invoke=0x7ffff76c7168 <toplevel_initial_invoke>, invoke_data=0x67ff10)
25 at src/core/interp.c:119
26 119 goto NEXT;
27 $1 = 159
28
29 Breakpoint 1, dummy () at src/core/interp.c:46
30 46 }
31 #1 0x00007ffff75689da in MVM_interp_run (tc=0x604a20,
32 initial_invoke=0x7ffff76c7168 <toplevel_initial_invoke>, invoke_data=0x67ff10)
33 at src/core/interp.c:1169
34 1169 goto NEXT;
35 $2 = 162