From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28956 invoked by alias); 6 Dec 2007 17:53:50 -0000 Received: (qmail 28939 invoked by uid 22791); 6 Dec 2007 17:53:49 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Dec 2007 17:53:45 +0000 Received: from rainbow ([192.168.8.46]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Dec 2007 17:53:42 +0000 From: "Dave Korn" To: "'personel personel'" , References: <422087.46834.qm@web57709.mail.re3.yahoo.com> Subject: RE: Debugging a Vlc dll with GDB. Date: Thu, 06 Dec 2007 17:53:00 -0000 Message-ID: <057001c83830$f06314b0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <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/msg00047.txt.bz2 On 06 December 2007 17:38, personel personel wrote: > 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 > 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" > Can you suggest me a method? GDB (and binutils in general) doesn't speak the language used by MSVC's debugging info (CodeView format; binutils uses STABS on windows). Off the top of my head, your options are: 1. Use mingw+gcc to compile instead of MSVC, so that you get debug info suitable for gdb. 2. Use Microsoft's debugger that's built into MSVC, or their standalone debugger "WinDbg". 3. Use gdb, and deal with the lack of symbols by using "dumpbin /symbols" to get a list of all the symbols and keep it handy in notepad while you're using gdb, looking up the address that corresponds to a symbol whenever you want to set a breakpoint and entering it into gdb in hex. cheers, DaveK -- Can't think of a witty .sigline today....