From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6652 invoked by alias); 23 Aug 2002 18:41:09 -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 6608 invoked from network); 23 Aug 2002 18:41:08 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 23 Aug 2002 18:41:08 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g7NIf7B03401; Fri, 23 Aug 2002 11:41:07 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Petr Sorfa Cc: gdb Subject: Re: adding namespace support to GDB References: <3D6677D3.6E84743C@caldera.com> Cc: carlton@math.stanford.edu Content-Type: text/plain; charset=US-ASCII From: David Carlton Date: Fri, 23 Aug 2002 11:41:00 -0000 In-Reply-To: <3D6677D3.6E84743C@caldera.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 X-SW-Source: 2002-08/txt/msg00294.txt.bz2 In article <3D6677D3.6E84743C@caldera.com>, Petr Sorfa writes: > 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. Great, I look forward to reading it. > This is essential for the "using" commands in either language (of > course the compiler needs to generate the correct DWARF > ;o)). Yes, well, there is always that. Certainly it seems like a solution for C++ will initially have to get recreate namespace info from DW_AT_MIPS_linkage_name, and there's no way that we'll be able to allow users to use symbol names as if all the appropriate using directives were in effect, since that information simply isn't in the debug information that GCC is currently producing. (Though that's not the end of the world: we should be able to do name lookup using C++'s name resolution rules based on the enclosing function and its arguments, presumably.) David Carlton carlton@math.stanford.edu