From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20302 invoked by alias); 6 Dec 2007 17:38:21 -0000 Received: (qmail 20294 invoked by uid 22791); 6 Dec 2007 17:38:21 -0000 X-Spam-Check-By: sourceware.org Received: from web57709.mail.re3.yahoo.com (HELO web57709.mail.re3.yahoo.com) (68.142.236.72) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 06 Dec 2007 17:38:12 +0000 Received: (qmail 47186 invoked by uid 60001); 6 Dec 2007 17:38:10 -0000 X-YMail-OSG: VtiTaocVM1nO7JNcVSINNTrA1DsOOBKwkWpvpmelBkfN98PZpXljkfG9.2H7YC12dHEjmbGU6wnMtvOVhjAgW3kmfhMPYlxuQGzroMECsE2UTMOTVzr5QGfKsBXcaIbG5sCnStel2up9AOL8U45WrICiBw-- Received: from [64.254.159.28] by web57709.mail.re3.yahoo.com via HTTP; Thu, 06 Dec 2007 09:38:10 PST Date: Thu, 06 Dec 2007 17:38:00 -0000 From: personel personel Subject: Debugging a Vlc dll with GDB. To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <422087.46834.qm@web57709.mail.re3.yahoo.com> 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/msg00046.txt.bz2 Hello, 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. His application uses the libvlc.dll of an open source application called Vlc. Unfortunately, Vlc has some bug(s) and we want to find them, correct them and suggest patches to the maintainers. So, our work will help the open source community. It tried to put a breakpoint into VLCTest.exe but it did not work: gdb -silent -e VLCTest.exe -s VLCTest.exe == "no debugging symbols found" 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 As you can see my goal is to step into the libvlc.dll. Can you suggest me a method? I tought about creating a new project under Eclipse to build VLCTest.exe but it seems to be an overkill. Best regards, abraxis ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping