From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2540 invoked by alias); 27 May 2002 06:03:41 -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 2530 invoked from network); 27 May 2002 06:03:39 -0000 Received: from unknown (HELO branoic) (12.44.186.158) by sources.redhat.com with SMTP; 27 May 2002 06:03:39 -0000 Received: from drow by branoic with local (Exim 3.35 #1 (Debian)) id 17CDbO-0001Kh-00; Mon, 27 May 2002 02:03:30 -0400 Date: Sun, 26 May 2002 23:03:00 -0000 From: Daniel Jacobowitz To: Carlo Wood Cc: liams@redhat.com, gdb@sources.redhat.com Subject: Re: gdb bugs showing while working on libcwd Message-ID: <20020527060329.GA5078@branoic.them.org> Mail-Followup-To: Carlo Wood , liams@redhat.com, gdb@sources.redhat.com References: <20020522115242.C28512@redhat.com> <20020523153816.A4454@alinoe.com> <20020524114149.A2793@redhat.com> <20020524184234.A22858@alinoe.com> <20020525033302.A20587@alinoe.com> <20020525014055.GA27211@branoic.them.org> <20020527034255.A25457@alinoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020527034255.A25457@alinoe.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-05/txt/msg00287.txt.bz2 On Mon, May 27, 2002 at 03:42:55AM +0200, Carlo Wood wrote: > (gdb) p __libcwd_tsd > $1 = (TSD_st &) @0x8075968: {internal = 1, library_call = 0, inside_malloc_or_free = 0, memblk_map = 0x0, marker = 0, > recursive_fatal = false, recursive_assert = true, cancel_explicitely_deferred = 0, cancel_explicitely_disabled = 0, > inside_critical_area = 0, cleanup_handler_installed = 0, internal_debugging_code = 1, tid = 1026, do_off_array = {0, 0, 0, 0, 0, 0, 0, 0}, > do_array = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, off_cnt_array = {0 }, static S_exit_key = Internal: global symbol `_ZN5libcw5debug9_private_6TSD_st10S_exit_keyE' ** >found in threading.cc psymtab but not in symtab. ** > _ZN5libcw5debug9_private_6TSD_st10S_exit_keyE may be an inlined function, or may be a template function > (if a template, try specifying an instantiation: _ZN5libcw5debug9_private_6TSD_st10S_exit_keyE). > (gdb) > > _ZN5libcw5debug9_private_6TSD_st10S_exit_keyE > > is > ** > libcw::debug::_private_::TSD_st::S_exit_key ** > A static member of struct TSD_st (in namespace > libcw::debug::_private_) of type pthread_key_t. > > Hence, it is NOT a inlined function (or a function at all), > nor is it a template. It is also very surely instantiated ;). > > Don't tell me this is related to namespaces too :/ [** Emphasis ** mine **] Of course it is; it's in a namespace. Really, I don't expect any of what you're doing to work right now. My first stab at fixing it was a complete disaster, too... -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer