Hi!
I am using cuda-gdb to debug some optimized code(without -G), in sass.
While i use : x/i $pc
I get
=> 0x7fffd5266280 <_Z5hellov+384>: CALL.ABS.NOINC 0x0
I want to check the actual hex of the sass code, like nvdisasm does. I use: x/10x $pc
I get all zeros
0x7fffd5266280 <_Z5hellov+384>: 0x00000000 0x00000000 0x00000000 0x00000000
0x7fffd5266290 <_Z5hellov+400>: 0x00000000 0x00000000 0x00000000 0x00000000
0x7fffd52662a0 <_Z5hellov+416>: 0x00000000 0x00000000
Is there a way to get the hex of running(dynamic) sass code, like nvdisasm do? nvdisasm only get the code before load into GPU DRAM.
Thanks a lot for the help!