From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19434 invoked by alias); 10 Feb 2008 16:01:23 -0000 Received: (qmail 19014 invoked by uid 22791); 10 Feb 2008 16:01:16 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate01.web.de (HELO fmmailgate01.web.de) (217.72.192.221) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 10 Feb 2008 16:00:56 +0000 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 41758D2858B5 for ; Sun, 10 Feb 2008 17:00:53 +0100 (CET) Received: from [80.133.83.43] (helo=medion.speedport_w_700v) by smtp06.web.de with asmtp (WEB.DE 4.109 #226) id 1JOEbt-0004Iz-00 for gdb@sourceware.org; Sun, 10 Feb 2008 17:00:53 +0100 Date: Sun, 10 Feb 2008 16:01:00 -0000 To: gdb@sourceware.org Subject: Problems with debugging programs with multiple binaries From: "Fabian Lenzen" Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera Mail/9.25 (Win32) X-Sender: fabian.lenzen@web.de 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: 2008-02/txt/msg00046.txt.bz2 Hi, I am using the MinGW Version of GDB 6.6, so I do not know whether this is a general GDB problem, or it does only occur with the Windows version. The problem I have occurs while debugging executables and dynamic libraries (DLLs). The executable is only written to get a starting point to debug the DLL. Both are compiled with the MinGW Gnu compiler, with debugging symbols (-g3) and without optimization (-O0). I can start the debugging session correctly, and step through all functions that are defined in the executable. Now, I try to step into a function that is located in the DLL. Instead of the source file, I am taken to iostream, line 77 (which contains “static ios_base::Init __ioinit;”). I can “step” again to reach the code line I want to, but having always this file is annoying, but – much worse – makes my IDE(Eclipse/CDT) hang up in a endless loop, so I cannot use my IDE there. I already posted in the CDT newsgroup, but isn't is possible to make GDB directly step into the source file I want to see? And, what does this code line have to do with the function call? Maybe someone can help me, Fabian