From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28184 invoked by alias); 29 Jan 2003 16:53:01 -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 28166 invoked from network); 29 Jan 2003 16:53:00 -0000 Received: from unknown (HELO mail.silk.net) (207.194.1.122) by 172.16.49.205 with SMTP; 29 Jan 2003 16:53:00 -0000 Received: from noodle.com (kelowna-64-114-77-14.gen.pacificcoast.net [64.114.77.14]) by mail.silk.net (8.11.6/8.11.6) with SMTP id h0TGrjd02865 for ; Wed, 29 Jan 2003 08:53:45 -0800 Date: Wed, 29 Jan 2003 16:53:00 -0000 From: William Trenker To: gdb@sources.redhat.com Subject: Newbie asks about .so libraries Message-Id: <20030129085049.25d160b2.wdtrenker@yahoo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00491.txt.bz2 Here's a basic question. Can gdb/insight debug code from .so files? I have a library, compiled with debug information, and a main program, also with debug info. If I start gdb with the main program, does gdb automatically dig up the debug info from any .so libraries used by the main program? Can I set breakpoints on the source code in the .so file? Or do I have to link statically for debugging purposes? Thanks, Bill