From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13811 invoked by alias); 19 Jun 2002 17:13:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13770 invoked from network); 19 Jun 2002 17:13:32 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 19 Jun 2002 17:13:32 -0000 Received: from theotherone.redhat-remotie.org (romulus.sfbay.redhat.com [172.16.27.251]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id KAA01877 for ; Wed, 19 Jun 2002 10:13:32 -0700 (PDT) Received: from localhost (localhost.fidalgo.net [127.0.0.1]) by theotherone.redhat-remotie.org (Postfix) with ESMTP id 0BE3CBB411; Wed, 19 Jun 2002 10:12:55 -0700 (PDT) Date: Wed, 19 Jun 2002 10:13:00 -0000 From: Don Howard X-X-Sender: To: Paul Vogelezang Cc: Subject: Re: No breakpoints in memory area In-Reply-To: <02Jun19.160712cest.119053@ns.hiscom.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-06/txt/msg00147.txt.bz2 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 ro See also 'help mem' and http://sources.redhat.com/gdb/current/onlinedocs/gdb_9.html#SEC63 -- dhoward@redhat.com gdb engineering