From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19841 invoked by alias); 19 Nov 2002 10:34:23 -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 19822 invoked from network); 19 Nov 2002 10:34:19 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 19 Nov 2002 10:34:19 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id gAJAHkk22331; Tue, 19 Nov 2002 05:17:46 -0500 To: Klee Dienes Cc: binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: [RFA] Add stabs entries for coalesced symbols. References: From: Jim Blandy Date: Tue, 19 Nov 2002 02:34:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-11/txt/msg00211.txt.bz2 Klee Dienes writes: > The following patch adds definitions for Mac OS X -style coalesced > symbols to aout/stab.def and stabs.texinfo. For general documentation > on coalesced symbols, search for N_BNSYM in the following link: > > http://web.mit.edu/darwin/src/modules/cctools/RelNotes/ > Private_CompilerTools.html > > I suspect there may be a better place to "Relocatable Symbol Blocks" > section of the TeXinfo file, but I wasn't able to find it; I'm happy > to move it elsewhere in the document if someone can tell me a better > place. Couldn't you call the section "Coalesced Symbol Blocks"? That way, someone familiar with the OS X feature would recognize that the section was relevant to the concept. I have the impression that GDB doesn't need to know about these symbols, since the static linker has removed them by the time GDB sees the file. If that's so, that should be stated explicitly. There must be more information in these stabs that allows the static linker to pair up a BNSYM..ENSYM region with its symbol in the coalesced section. Whatever the case, the way the pairing is done should be explained in complete detail here.