From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10211 invoked by alias); 28 Apr 2014 23:32:20 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 10176 invoked by uid 48); 28 Apr 2014 23:32:18 -0000 From: "vsoftco at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/16880] New: GDB does not step into template functions OS X Mavericks Date: Mon, 28 Apr 2014 23:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vsoftco at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00138.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16880 Bug ID: 16880 Summary: GDB does not step into template functions OS X Mavericks Product: gdb Version: 7.7 Status: NEW Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: vsoftco at gmail dot com Hi, I am using gdb on OS X Mavericks, and whenever I try to step in a template function, gdb steps over (same when I set a breakpoint inside a template function, it is never reached, as if the breakpoint does not exist). This happens for even the simplest template functions defined inside of main.cpp. My target OS is OS X Mavericks, I used both gdb 7.6 and gdb 7.7, same behaviour. I tried it on more than one machine that runs Mavericks. I also tried using various versions of g++ (4.7, 4.8, 4.9) to compile my program. I also tried to use -fno-inline option when compiling, still same thing... Under any other OS (Linux/Windows/Solaris), gdb steps in template functions. It seems to be a problem related to OS X Mavericks. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.