Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* hbreak reads memory
@ 2016-07-27  6:29 Alexandru-Adrian Oltean
  2016-07-27 21:41 ` Breazeal, Don
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandru-Adrian Oltean @ 2016-07-27  6:29 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-02  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27  6:29 hbreak reads memory Alexandru-Adrian Oltean
2016-07-27 21:41 ` Breazeal, Don
2016-07-28  6:28   ` Alexandru-Adrian Oltean
     [not found]     ` <0CEE46EB9C50E44486A861D738D3E2067ED804CC@RS-MBS02.realsil.com.cn>
2016-08-02  6:53       ` Alexandru-Adrian Oltean
     [not found]     ` <CAH=s-PO2rUWbiFwMgtbsqDMNQnPB0fdmsmxe2HU9y4z7F7=pFQ@mail.gmail.com>
2016-08-02  9:15       ` Alexandru-Adrian Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox