hbreak reads memory
Alexandru-Adrian Oltean
adrian.oltean@nxp.com
Wed Jul 27 06:29:00 GMT 2016
Hi everyone,
I noticed that setting a hardware break using hbreak will trigger a memory access at the address where the breakpoint is supposed to be installed. Can someone explain why is that memory access needed? I'm thinking that we might be in a situation where that memory area is not yet initialized/accessible (maybe MMU not configured yet) and the access corrupts the debugged target.
Thanks,
Adrian
More information about the Gdb
mailing list