This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]