From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32073 invoked by alias); 20 Feb 2003 15:27:51 -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 32065 invoked from network); 20 Feb 2003 15:27:51 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 15:27:51 -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 h1KFRpN25559 for ; Thu, 20 Feb 2003 10:27:51 -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 h1KFRof11897; Thu, 20 Feb 2003 10:27:50 -0500 Received: from localhost.localdomain (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1KFRoO20059; Thu, 20 Feb 2003 10:27:50 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h1KFRiF07682; Thu, 20 Feb 2003 08:27:44 -0700 Date: Thu, 20 Feb 2003 15:27:00 -0000 From: Kevin Buettner Message-Id: <1030220152744.ZM7681@localhost.localdomain> In-Reply-To: "Lev Assinovsky" "RE: gdb + dynamic libs problem" (Feb 20, 1:26pm) References: <3F6F4712B759A34ABD453A8B39C10D6226694D@bagman.edm.com> To: "Lev Assinovsky" , Subject: Re: gdb + dynamic libs problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00409.txt.bz2 On Feb 20, 1:26pm, Lev Assinovsky wrote: > > > I perform source opening by issue the commands "shared library" and > > > "list :1". > > > > Have you disabled ``auto-solib-add''? If not, you shouldn't need to > > invoke the ``sharedlibrary'' command directly. I.e, gdb should > > automatically load the shared libraries for you (unless you've told it > > not to). > > Here the point is! I don't have "classic" shared libraries like > libxxx.so. And application is not linked with them. > I have xxx.so and load it via dlopen function. I.e. gdb doesn't have > any knowledge about c++ files in my shared object until I type in "sharedlibrary" command! What does ``info shared'' show you prior to using the ``sharedlibrary'' command? GDB *should* be loading your dlopen'd libraries automatically too. > > > But if the source file is big gdb get crash. Do you know why gdb is crashing? > > > It there any way to increase gdb resources to consume > > > larger files (symbol tables?) > > > > Which platform are you running on? On most platforms, gdb should > > be able to use whatever resources the operating system is able to > > give it. Thus, you may need to play around with ulimit, adjusting > > the amount of memory, swap space, etc. > > I tried solaris8-intel and solaris8-sparc platforms with ulimit=unlimited. Are you running out of memory? Do you have enough swap space? Kevin