This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: read target register to decide breakpoint size


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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]