From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16002 invoked by alias); 5 Jul 2009 00:19:27 -0000 Received: (qmail 15993 invoked by uid 22791); 5 Jul 2009 00:19:26 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 05 Jul 2009 00:19:14 +0000 Received: from spaceape8.eur.corp.google.com (spaceape8.eur.corp.google.com [172.28.16.142]) by smtp-out.google.com with ESMTP id n650JBgM016014 for ; Sun, 5 Jul 2009 01:19:12 +0100 Received: from qw-out-2122.google.com (qwd5.prod.google.com [10.241.193.197]) by spaceape8.eur.corp.google.com with ESMTP id n650J8D1013815 for ; Sat, 4 Jul 2009 17:19:09 -0700 Received: by qw-out-2122.google.com with SMTP id 5so1597775qwd.65 for ; Sat, 04 Jul 2009 17:19:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.81.70 with SMTP id w6mr1712963qck.11.1246753148744; Sat, 04 Jul 2009 17:19:08 -0700 (PDT) In-Reply-To: <20090703221537.GA5211@caradoc.them.org> References: <13160568.1246651456509.JavaMail.root@mswamui-blood.atl.sa.earthlink.net> <20090703221537.GA5211@caradoc.them.org> Date: Sun, 05 Jul 2009 00:19:00 -0000 Message-ID: <8ac60eac0907041719r6f6f32edp4f9905c72782443b@mail.gmail.com> Subject: Re: Novice gdb question From: Paul Pluzhnikov To: ikorot@earthlink.net, "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2009-07/txt/msg00025.txt.bz2 On Fri, Jul 3, 2009 at 3:15 PM, Daniel Jacobowitz wrote: > On Fri, Jul 03, 2009 at 01:04:16PM -0700, ikorot@earthlink.net wrote: >> Is it possible to make gdb aware of the inline-ness and make it work as = MSVC >> debugger? > > Build GDB from CVS. =A0Inline function support was added last week. It will work, but not the same way MSVC does. It's not clear from OP description whether he used debug (no actual inlining happening!) or optimized (AFAICT no source level debugging AFACT) build. In addition, at least in VC2008 there is no "next", only "step over" (F10) and "step into" (F11). Finally, if there actually is a version of MSVC which behaves as OP described, that behavior is arguably more broken that GDB's was before inline fixes. --=20 Paul Pluzhnikov