From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9152 invoked by alias); 24 Jul 2008 00:07:48 -0000 Received: (qmail 9142 invoked by uid 22791); 24 Jul 2008 00:07:47 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-curtail.atl.sa.earthlink.net (HELO elasmtp-curtail.atl.sa.earthlink.net) (209.86.89.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jul 2008 00:07:28 +0000 Received: from [68.108.140.98] (helo=macbook-2.local) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KLoMg-0002xS-80 for gdb@sourceware.org; Wed, 23 Jul 2008 20:07:26 -0400 Message-ID: <4887C7BD.80601@earthlink.net> Date: Thu, 24 Jul 2008 00:14:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Address spaces Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da940c03726161716febd3f5b878c0f468fac350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00249.txt.bz2 One of the recurring themes I'm noticing in my little bit of prototyping for multiprogram GDB is the need for a general concept of "address space". It's not quite the same as program/exec, because several programs could be in one address space in a non-virtual-memory system. It's not quite the same as process, because it applies to address lookup in execs prior to running any of them. It seems most like a tag glued on the front of a CORE_ADDR in fact (change CORE_ADDR to a struct? urgh). Anyway, I'm just throwing this out to get people's thoughts, and see if I'm missing an existing basic type or bit of infrastructure that could serve the purpose. I don't think address space objects would be user-visible, nor have very many properties; I think their main purpose in practice will be to keep target addresses in different execs and processes from getting mixed up with each other. Stan