This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: help string for "break" command
On Fri, Jan 12, 2007 at 02:45:16PM +0100, Mathieu Lacage wrote:
> Am I right in assuming that the gdb command "break" places exclusively
> so-called software-breakpoints while the command "hbreak" places a
> hardware-breakpoint (I am not sure I have figured out the details of the
> logic in gdb/breakpoint.c) ?
Not 100%. CVS versions of GDB will use hardware breakpoints
automatically if you try to set them in truly read-only memory.
--
Daniel Jacobowitz
CodeSourcery