From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8566 invoked by alias); 30 Aug 2006 13:24:18 -0000 Received: (qmail 8555 invoked by uid 22791); 30 Aug 2006 13:24:17 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0102.google.com (HELO nz-out-0102.google.com) (64.233.162.206) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Aug 2006 13:24:15 +0000 Received: by nz-out-0102.google.com with SMTP id v1so128015nzb for ; Wed, 30 Aug 2006 06:24:13 -0700 (PDT) Received: by 10.35.103.12 with SMTP id f12mr1042685pym; Wed, 30 Aug 2006 06:24:12 -0700 (PDT) Received: by 10.35.35.4 with HTTP; Wed, 30 Aug 2006 06:24:12 -0700 (PDT) Message-ID: Date: Wed, 30 Aug 2006 13:24:00 -0000 From: "chen free" To: "Daniel Jacobowitz" , "Mark Kettenis" , gdb@sources.redhat.com Subject: Re: What exactly does "info sharedlibrary" command show? In-Reply-To: <20060830123916.GA19163@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060829123954.GB12955@nevyn.them.org> <200608291914.k7TJEOPY016721@elgar.sibelius.xs4all.nl> <20060829192758.GA27571@nevyn.them.org> <200608292005.k7TK5M2q021703@elgar.sibelius.xs4all.nl> <20060829201206.GA28907@nevyn.them.org> <20060830123916.GA19163@nevyn.them.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00243.txt.bz2 Thanks, buddies, any way, now I'm clear about the "info shared" command :-) And "info files", "readelf" are more or less the same, and can provide more infomation than "info shared". Regards, Eric 2006/8/30, Daniel Jacobowitz : > On Wed, Aug 30, 2006 at 01:21:53PM +0800, chen free wrote: > > So you mean in "0x00002aaaaabd6910 0x00002aaaaabf1e58 Yes > > /lib/libreadline.so.5" it's the real address of code (.text) segment? > > The .text section, not segment. > > > Are the "info files" reported the same result as "readelf" or "info shared"? > > Sort of. I don't know what you're asking. > > -- > Daniel Jacobowitz > CodeSourcery >