This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: No breakpoints in memory area
- From: Don Howard <dhoward at redhat dot com>
- To: Paul Vogelezang <pvogelez at HISCOM dot NL>
- Cc: <gdb at sources dot redhat dot com>
- Date: Wed, 19 Jun 2002 10:12:54 -0700 (PDT)
- Subject: Re: No breakpoints in memory area
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