Re: [v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-19 Thread Mingwei
No. it does not. Neither --gdbjit or --gdbjit_full works on d8. One thing I noticed is that in this version of d8, I am not seeing any RWX code pages. Obviously, V8 enforces W^X policy on JIT code pages. But I am not sure if this is the reason for that. Let me know. Thanks. best On Tue, Jun

Re: [v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-19 Thread Ben Noordhuis
On Tue, Jun 19, 2018 at 4:11 AM, Mingwei Zhang wrote: > Hi Ben, > > The problem is that I don't get any breakpoint hit notification in gdb. The > program just execute and exited normally, regardless of whether i set the > breakpoint or not in __jit_debug_register_code. > > I double checked in

Re: [v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-18 Thread Mingwei Zhang
Hi Ben, The problem is that I don't get any breakpoint hit notification in gdb. The program just execute and exited normally, regardless of whether i set the breakpoint or not in __jit_debug_register_code. I double checked in instructions that when I am using gm.py with target x64.debug, it

Re: [v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-18 Thread Ben Noordhuis
On Sun, Jun 17, 2018 at 11:15 PM, Mingwei Zhang wrote: > Dear V8 developer, > > I recently tried to use the debugging interface for gdb on JIT code. When I > tried building a debug build of V8 and following the instructions in: > > https://github.com/v8/v8/wiki/GDB-JIT-Interface > > I launched my

[v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-17 Thread Mingwei Zhang
Dear V8 developer, I recently tried to use the debugging interface for gdb on JIT code. When I tried building a debug build of V8 and following the instructions in: https://github.com/v8/v8/wiki/GDB-JIT-Interface I launched my program using the following command: gdb --args ./d8 --gdbjit