From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6785 invoked by alias); 23 Aug 2002 17:46:03 -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 6763 invoked from network); 23 Aug 2002 17:46:02 -0000 Received: from unknown (HELO tetsuo.nj.caldera.com) (63.124.204.226) by sources.redhat.com with SMTP; 23 Aug 2002 17:46:02 -0000 Received: from caldera.com (localhost.localdomain [127.0.0.1]) by tetsuo.nj.caldera.com (8.11.6/8.11.6) with ESMTP id g7NHwjC26612; Fri, 23 Aug 2002 13:58:45 -0400 Message-ID: <3D6677D3.6E84743C@caldera.com> Date: Fri, 23 Aug 2002 10:46:00 -0000 From: Petr Sorfa Organization: Caldera X-Accept-Language: en MIME-Version: 1.0 To: David Carlton CC: gdb Subject: Re: adding namespace support to GDB References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00291.txt.bz2 Hi David, Well to help things along I will be submitting a DWARF patch that will supported imported declarations which are essential for FORTRAN modules and C++ namespaces. This is essential for the "using" commands in either language (of course the compiler needs to generate the correct DWARF ;o)). I'm making some changes to my TAG_module patch which hopefully will get it accepted. C++ namespaces are fairly similar to FORTRAN modules, except FORTRAN95 seems to have a more powerful "using" command (ability to rename imported symbols), and C++ a more flexible use of namespaces. Both the patches for modules and imported declarations will be submitted early next week. Petr > I recently asked Daniel Jacobwitz for suggestions as to what I could > do to help GDB, and he suggested that I might try adding proper > namespace support. I've skimmed a thread on the issue from early > April with lots of interesting ideas; at some point, it sounded like > Jim Blandy was about to start writing up some concrete possible > interfaces, and I was wondering if anything more came of that. > > For the time being, I'm going to reread that thread more closely, look > at Petr Sorfa's module patch, look at the DWARF-3 standard, look at > existing GDB code, and think about this for a while. (Or at least I > hope that's what I'm going to do: maybe I'll instead spend all of my > time arguing with Stanford's benefits office. Anybody know of any > interesting free software jobs in countries with nationalized health > insurance?) But I don't want to duplicate effort if somebody else has > already started working on this. > > David Carlton > carlton@math.stanford.edu