No breakpoints in memory area
Don Howard
dhoward@redhat.com
Wed Jun 19 10:13:00 GMT 2002
On Wed, 19 Jun 2002, Paul Vogelezang wrote:
> Hi,
>
> I'd like to know if it is possible to tell GDB that a certain area of
> memory is readonly. The area is located in a shared memory segment and
> contains executable code. I want to tell GDB that it is not allowed to
> set any breakpoints in that area.
>
> I hope somebody can help me with this.
>
mem <start> <end> ro
See also 'help mem' and
http://sources.redhat.com/gdb/current/onlinedocs/gdb_9.html#SEC63
--
dhoward@redhat.com
gdb engineering
More information about the Gdb
mailing list