From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16210 invoked by alias); 19 Aug 2002 14:53:44 -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 16065 invoked from network); 19 Aug 2002 14:53:42 -0000 Received: from unknown (HELO netezza.com) (209.113.240.37) by sources.redhat.com with SMTP; 19 Aug 2002 14:53:42 -0000 Received: from astral (host20 [192.168.0.20]) by netezza.com (8.10.2+Sun/8.10.2) with SMTP id g7JErfI26287 for ; Mon, 19 Aug 2002 10:53:41 -0400 (EDT) Message-ID: <005d01c24790$354b1150$1400a8c0@astral> Reply-To: "John S. Yates, Jr." From: "John S. Yates, Jr." To: "gdb" Subject: mapping addresses Date: Mon, 19 Aug 2002 07:53:00 -0000 Organization: Netezza Corporation MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-08/txt/msg00208.txt.bz2 Looking for advice / guidance: We are doing a home-grown embedded kernel which runs with the MMU turned-on. The twist in this design is that address maps are true first class objects that have an existence independent of any tasks. A task may have no current map (only shared regions guaranteed accessible) or it may explicitly attach to a map. And of course it is fully meaningful for a map to exist even though no tasks are currently attached to it. For debugging I would like the following: (1) an address expression syntax that denotes dereferencing relative to given map tag (2) a means of establishing a default map tag for those cases where no map tag is given Is there enough support in GDB for x86 segment addressing to provide a starting point for (1)? How generalizable is it? [Currently using the PowerPC though in future anything is possible.] Is current support for switching amount thread a reasonable starting point for (2)? tia, /john -- John S. Yates, Jr. 508 665-6897 (voice) Netezza Inc 508 665-6811 (fax) 200 Crossing Blvd. Framingham, MA 01701