From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 342 invoked by alias); 21 Jan 2008 19:53:37 -0000 Received: (qmail 331 invoked by uid 22791); 21 Jan 2008 19:53:36 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-galgo.atl.sa.earthlink.net (HELO elasmtp-galgo.atl.sa.earthlink.net) (209.86.89.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Jan 2008 19:53:15 +0000 Received: from [209.86.224.32] (helo=elwamui-cypress.atl.sa.earthlink.net) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1JH2hl-0002O9-Vu for gdb@sourceware.org; Mon, 21 Jan 2008 14:53:14 -0500 Received: from 71.81.16.21 by webmail.pas.earthlink.net with HTTP; Mon, 21 Jan 2008 14:53:13 -0500 Message-ID: <17488423.1200945193993.JavaMail.root@elwamui-cypress.atl.sa.earthlink.net> Date: Mon, 21 Jan 2008 19:53:00 -0000 From: Igor Korot Reply-To: Igor Korot To: gdb@sourceware.org Subject: Is it supported in new version? Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: ae972db06a188bef94f5150ab1c16ac04d04932202c5b85bebbf0d00f8617f9f39766cc8ae95c8c2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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-01/txt/msg00215.txt.bz2 Hi, ALL, My name is Igor and I'm new to this list. I have been using Gentoo + KDevelop + wxGTK + gdb for over a year now. Currently I have gdb-6.6 from Gentoo Portage installed. Now to the question. When I'm debugging my program, and there is a inline function or the flow hits the function end (symbol "}"), I have to press F11 - step inside the function, otherwise gdb will send me to the next statement of my program and not to the place where I came. For example: 1. Initial place - file foo.cpp, line 100, calls function from file foo1.cpp line 100. The function takes 5 lines of code: 100 - 105. 2. In the file foo1.cpp line 101 there is a call to a function from the file foo2.cpp. When I enter the function, I found out that it is inline. Now if I hit F10, which is "execute next statement", I will go to the file foo.cpp line 101, instead of going to the file foo1.cpp line 102. If I look at the Microsoft Visual Studio debugger, that's how it behaves. It goes to the file foo1.cpp, let me finish going through until the line 105 and then comes to the foo.cpp line 101. Now my question is: Is new version of gdb works the same or is it works like previous version of gdb? Thank you for the prompt responce, and apologies for dumb question (if it dumb) ;-)