From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7705 invoked by alias); 23 Aug 2002 02:29:21 -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 7698 invoked from network); 23 Aug 2002 02:29:18 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 23 Aug 2002 02:29:18 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id g7N2IPP21608; Thu, 22 Aug 2002 21:18:25 -0500 To: Rosen Georgiev Cc: gdb@sources.redhat.com Subject: Re: Debugging promgram without debugging info References: <20020823003620.7164.qmail@web21301.mail.yahoo.com> From: Jim Blandy Date: Thu, 22 Aug 2002 19:29:00 -0000 In-Reply-To: <20020823003620.7164.qmail@web21301.mail.yahoo.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00277.txt.bz2 Rosen Georgiev writes: > Hi. > > I'm still try to debug a DLL. > > I think the only problem left unsolved is how to > make the program (without debugging info) that loads > the DLL to stop at some time after loading it. The > "catch load" isn't implemented and it's the only way i > can think of. > > Would somebody who has tryed doing something like this > or knows how to do it help me. On Linux, GDB sets a breakpoint in the dynamic linker. The dynamic linker has a special function set aside for just this purpose. I don't know if Windows has anything like that.