From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18113 invoked by alias); 20 Jan 2008 22:37:52 -0000 Received: (qmail 18094 invoked by uid 22791); 20 Jan 2008 22:37:51 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0910.google.com (HELO rv-out-0910.google.com) (209.85.198.191) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 20 Jan 2008 22:37:34 +0000 Received: by rv-out-0910.google.com with SMTP id l15so1461153rvb.48 for ; Sun, 20 Jan 2008 14:37:32 -0800 (PST) Received: by 10.141.78.14 with SMTP id f14mr4039807rvl.6.1200868652225; Sun, 20 Jan 2008 14:37:32 -0800 (PST) Received: by 10.141.137.19 with HTTP; Sun, 20 Jan 2008 14:37:32 -0800 (PST) Message-ID: Date: Sun, 20 Jan 2008 22:37:00 -0000 From: "Srinath Avadhanula" To: gdb@sourceware.org Subject: How to load only selected libraries? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00201.txt.bz2 Hi, Is it possible to have GDB only load selected libraries? I know about doing set auto-solib-add off and then following it up with sha foolib However, what I would really like is something like set auto-solib-regexp And then have GDB only (automatically) load libraries which match the . The problem with 'sha ' of course is that its not automatic. I have to interrupt the program after ensuring that the library is loaded. I am using gdb-6.9-40-debian. Is such a feature available in a newer version? Thanks, Srinath