Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb on Mac OS bpt implementation question
@ 2011-11-08 23:42 Mick Jordan
  2011-11-09  7:48 ` Tristan Gingold
  2011-11-10 22:19 ` Jason Molenda
  0 siblings, 2 replies; 3+ messages in thread
From: Mick Jordan @ 2011-11-08 23:42 UTC (permalink / raw)
  To: gdb

I'd be grateful if someone could point me to where in the gdb source 
code that Mac OS specific breakpoint setting is done. The problem I am 
trying to resolve is how breakpoints are set in shared libraries, given 
that they are loaded read-only on Mac OS X (assuming the "write a bpt 
instruction" approach). The context for this is a custom debugger we 
have for a Java VM (Maxine) which uses "write a bpt instruction" and 
works fine setting breakpoints in shared library code on Linux and 
Solaris, but not on MacOS (we get access faults trying to write the BPT 
instruction).

Thanks
Mick Jordan


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

end of thread, other threads:[~2011-11-10 22:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 23:42 gdb on Mac OS bpt implementation question Mick Jordan
2011-11-09  7:48 ` Tristan Gingold
2011-11-10 22:19 ` Jason Molenda

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