From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27693 invoked by alias); 5 Nov 2003 16:11:11 -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 27686 invoked from network); 5 Nov 2003 16:11:10 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Nov 2003 16:11:10 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hA5GBAM05789 for ; Wed, 5 Nov 2003 11:11:10 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hA5GB9601816; Wed, 5 Nov 2003 11:11:09 -0500 Received: from localhost.localdomain (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id hA5GB9Jm031801; Wed, 5 Nov 2003 11:11:09 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id hA5GB3D06799; Wed, 5 Nov 2003 09:11:03 -0700 Date: Wed, 05 Nov 2003 16:11:00 -0000 From: Kevin Buettner Message-Id: <1031105161103.ZM6798@localhost.localdomain> In-Reply-To: ankit thukral "about _dl_debug_state()" (Nov 5, 3:31am) References: <20031105113117.69002.qmail@web60104.mail.yahoo.com> To: ankit thukral , gdb@sources.redhat.com Subject: Re: about _dl_debug_state() MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00036.txt.bz2 On Nov 5, 3:31am, ankit thukral wrote: > this is regarding the function called > _dl_debug_state() which is in the library ld-2.x.so.i > can't figure out why is this function needed and why > is a (internal) breakpoint put at this function. > apparently , this function is just a stub.but i can't > figure out the need for it. The dynamic loader will call this function when a shared library has been loaded or unloaded. A debugger may place a breakpoint on this function to know when it should refresh its list of loaded shared libraries. Kevin