read target register to decide breakpoint size

Yao Qi qiyaoltc@gmail.com
Wed Dec 14 17:22:00 GMT 2016


On 16-12-14 09:01:53, Tim Newsome wrote:
> 
> Thank you, sounds like reading MISA from kind_from_pc should work out
> fine then (unless Yao has an objection we didn't consider).

You can't set breakpoint without the live inferior in this way.

./gdb a.out
(gdb) b main

-- 
Yao (齐尧)



More information about the Gdb mailing list