From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21752 invoked by alias); 6 Dec 2007 18:23:59 -0000 Received: (qmail 21736 invoked by uid 22791); 6 Dec 2007 18:23:57 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Dec 2007 18:23:46 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 82AB5982D9; Thu, 6 Dec 2007 18:23:44 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 654E298150; Thu, 6 Dec 2007 18:23:44 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J0LNv-0004Gq-Af; Thu, 06 Dec 2007 13:23:43 -0500 Date: Thu, 06 Dec 2007 18:23:00 -0000 From: Daniel Jacobowitz To: personel personel Cc: gdb@sourceware.org Subject: Re: Debugging a Vlc dll with GDB. Message-ID: <20071206182343.GA16137@caradoc.them.org> Mail-Followup-To: personel personel , gdb@sourceware.org References: <422087.46834.qm@web57709.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <422087.46834.qm@web57709.mail.re3.yahoo.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-12/txt/msg00049.txt.bz2 On Thu, Dec 06, 2007 at 09:38:10AM -0800, personel personel wrote: > I am currently using GDB v.6.5.50.20060706. One of my > colleague built an application (VLCTest.exe) by using > Visual Studio C++ 6.0 and used the MFC. As Dave mentioned, we can not do source level debugging of MSVC++ compiled applications. > Instead of it I can put a breakpoint into libvlc.dll > (let's say function libvlc_new()). I tried but it did > not work: > > gdb -silent -e VLCTest.exe -s VLCTest.exe == "no > debugging symbols found" > file libvlc.dll == reading symbols from > libvlc.dll ... done > break libvlc_new == breakpoint 1 at bla bla bla > run VLCTest.exe == error creating process > /cygdrive/c/cygwin/myapp/libvlc.dll Skip the "file" command. Say yes when GDB asks if the breakpoint should be created pending. -- Daniel Jacobowitz CodeSourcery