Mercurial > hg > Papers > 2019 > anatofuz-prosym
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Paper/src/origin_breakpoint.txt Thu Nov 08 14:57:59 2018 +0900 @@ -0,0 +1,35 @@ +dalmore gdb --args ../../MoarVM_Original/MoarVM/moar --libpath=src/vm/moar/stage0 gen/moar/stage1/nqp +(gdb) b dummy +Function "dummy" not defined. +Make breakpoint pending on future shared library load? (y or [n]) y +Breakpoint 1 (dummy) pending. +(gdb) command 1 +Type commands for breakpoint(s) 1, one per line. +End with a line saying just "end". +>up +>p *(MVMuint16 *)(cur_op) +>c +>end +(gdb) c +The program is not being run. +(gdb) run +Starting program: /mnt/dalmore-home/one/src/Perl6/nqp/../../MoarVM_Original/MoarVM/moar --libpath=src/vm/moar/stage0 gen/moar/stage1/nqp.moarvm +[Thread debugging using libthread_db enabled] +Using host libthread_db library "/lib64/libthread_db.so.1". +[New Thread 0x7ffff629a700 (LWP 176412)] + +Breakpoint 1, dummy () at src/core/interp.c:46 +46 } +#1 0x00007ffff75608fe in MVM_interp_run (tc=0x604a20, + initial_invoke=0x7ffff76c7168 <toplevel_initial_invoke>, invoke_data=0x67ff10) + at src/core/interp.c:119 +119 goto NEXT; +$1 = 159 + +Breakpoint 1, dummy () at src/core/interp.c:46 +46 } +#1 0x00007ffff75689da in MVM_interp_run (tc=0x604a20, + initial_invoke=0x7ffff76c7168 <toplevel_initial_invoke>, invoke_data=0x67ff10) + at src/core/interp.c:1169 +1169 goto NEXT; +$2 = 162