From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22193 invoked by alias); 10 Dec 2003 17:37:37 -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 22111 invoked from network); 10 Dec 2003 17:37:35 -0000 Received: from unknown (HELO ata.cs.hacettepe.edu.tr) (193.140.236.6) by sources.redhat.com with SMTP; 10 Dec 2003 17:37:35 -0000 Received: from ata.cs.hacettepe.edu.tr (ata.cs.hacettepe.edu.tr [127.0.0.1]) by ata.cs.hacettepe.edu.tr (8.12.8/8.11.6) with ESMTP id hBAHbX6P030134 for ; Wed, 10 Dec 2003 19:37:33 +0200 Received: (from ibr@localhost) by ata.cs.hacettepe.edu.tr (8.12.8/8.12.8/Submit) id hBAHbWDn030133 for gdb@sources.redhat.com; Wed, 10 Dec 2003 19:37:32 +0200 Date: Wed, 10 Dec 2003 17:37:00 -0000 From: Baurjan Ismagulov To: gdb@sources.redhat.com Subject: Re: optind Message-ID: <20031210173730.GP23712@ata.cs.hacettepe.edu.tr> Mail-Followup-To: gdb@sources.redhat.com References: <20031210142045.GL23712@ata.cs.hacettepe.edu.tr> <20031210144917.GA9115@nevyn.them.org> <20031210160910.GM23712@ata.cs.hacettepe.edu.tr> <20031210165318.GO23712@ata.cs.hacettepe.edu.tr> <20031210171715.GA6721@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031210171715.GA6721@nevyn.them.org> User-Agent: Mutt/1.5.4i X-SW-Source: 2003-12/txt/msg00168.txt.bz2 Hello, Daniel and Ian! On Wed, Dec 10, 2003 at 12:17:15PM -0500, Daniel Jacobowitz wrote: > > This will > > normally be true, but will fail in cases where the library is > > controlling visibility in any of various different ways. > For global variables the sensible default is to use the one in the > executable. This gets much more fun, of course, for function > addresses. Could you please enlighten me regarding the following, too: 1. How can the visibility of a symbol be controlled by the library? 2. Why does this get much more fun for function addresses? Thanks in advance, Baurjan.