From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9081 invoked by alias); 21 Sep 2006 15:36:53 -0000 Received: (qmail 9067 invoked by uid 22791); 21 Sep 2006 15:36:52 -0000 X-Spam-Check-By: sourceware.org Received: from lightening.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.77) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Sep 2006 15:36:47 +0000 Received: from [192.168.0.10] (220-253-0-45.VIC.netspace.net.au [220.253.0.45]) by mail.netspace.net.au (Postfix) with ESMTP id 9EC5D3759D3 for ; Fri, 22 Sep 2006 01:36:42 +1000 (EST) Message-ID: <4512B18D.9040208@netspace.net.au> Date: Thu, 21 Sep 2006 15:36:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Preloading dlopen symbols Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-09/txt/msg00121.txt.bz2 Hi, When i run a program that dlopens a library, i can only set a breakpoint in that library after it is loaded. When i restart the inferior, my breakpoints get disabled. How can i load all the modules to give the effect of one monolithic program so that i can set breakpoints anywhere at anytime and not have them disabled?