From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21046 invoked by alias); 9 Oct 2003 22:00:27 -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 21039 invoked from network); 9 Oct 2003 22:00:25 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 9 Oct 2003 22:00:25 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AAA742B89; Thu, 9 Oct 2003 18:00:23 -0400 (EDT) Message-ID: <3F85DA77.3080108@redhat.com> Date: Thu, 09 Oct 2003 22:00:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: gdb@sources.redhat.com Subject: Re: A target has-a 1:N threads? References: <3F856BF9.5020708@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00169.txt.bz2 > Sure --- every thread should know how to read and write its registers, > so it needs to know which target to use for that. > I'm more concerned about the symbol table's ability to support > multiple processes, the solib list handling, and so on. There needs > to be a data structure that represents an address space, with which we > can associate the addr->block, addr->line, and addr->symbol mappings, > the solib lists, and so on. Fortunatly, the change of making the 0:N target has-a thread relationship explicit isn't directly dependant on other changes. That lets me delay worrying about your problem until a later date (and perhaphs by then you will have worred it into a solution :-) enjoy, Andrew