Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* No breakpoints in memory area
@ 2002-06-19  6:59 Paul Vogelezang
  2002-06-19 10:13 ` Don Howard
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Vogelezang @ 2002-06-19  6:59 UTC (permalink / raw)
  To: gdb

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.

Thanks.

Paul.


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

* Re: No breakpoints in memory area
  2002-06-19  6:59 No breakpoints in memory area Paul Vogelezang
@ 2002-06-19 10:13 ` Don Howard
  0 siblings, 0 replies; 2+ messages in thread
From: Don Howard @ 2002-06-19 10:13 UTC (permalink / raw)
  To: Paul Vogelezang; +Cc: gdb

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



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

end of thread, other threads:[~2002-06-19 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19  6:59 No breakpoints in memory area Paul Vogelezang
2002-06-19 10:13 ` Don Howard

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