From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24585 invoked by alias); 11 Feb 2010 19:12:21 -0000 Received: (qmail 24571 invoked by uid 22791); 11 Feb 2010 19:12:21 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-out3.apple.com (HELO mail-out3.apple.com) (17.254.13.22) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Feb 2010 19:12:17 +0000 Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id B74718467710; Thu, 11 Feb 2010 11:12:15 -0800 (PST) Received: from gdbrulez.apple.com (gdbrulez.apple.com [17.224.14.42]) by relay13.apple.com (Apple SCV relay) with SMTP id A5.BF.04097.F86547B4; Thu, 11 Feb 2010 11:12:15 -0800 (PST) Subject: Re: GDB steping into STL Headers. Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Jim Ingham In-Reply-To: <20100211190921.GA20235@caradoc.them.org> Date: Thu, 11 Feb 2010 19:12:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <35CF0705-79F2-4AA2-B863-62D1294E1F1C@apple.com> References: <27535106.post@talk.nabble.com> <27542787.post@talk.nabble.com> <1CF86F7D-0B47-47D7-A6E2-24853D50653D@apple.com> <20100211190921.GA20235@caradoc.them.org> To: Daniel Jacobowitz 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: 2010-02/txt/msg00072.txt.bz2 Hey, cool. Our gdb's been doing that for a couple of years now, glad you c= aught up :-D Jim On Feb 11, 2010, at 11:09 AM, Daniel Jacobowitz wrote: > On Thu, Feb 11, 2010 at 11:03:08AM -0800, Jim Ingham wrote: >> It sounds like the STL code got inlined? Then next would also step >> in, since gdb doesn't see inlined functions as new frames. >=20 > Maybe your GDB doesn't :-P GDB 7.0 does support inlined functions - > if your compiler outputs correct DWARF, at least. >=20 > --=20 > Daniel Jacobowitz > CodeSourcery