From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14749 invoked by alias); 1 Dec 2013 22:08:00 -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 14719 invoked by uid 48); 1 Dec 2013 22:07:58 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/16280] Step into an inline function with varargs doesn't stop Date: Sun, 01 Dec 2013 22:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat 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: Message-ID: In-Reply-To: References: 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: 2013-q4/txt/msg00476.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16280 --- Comment #3 from Pedro Alves --- So, a simpler reproducer is to try to set a breakpoint in the function, and run to it, no stepping involved, which fails as well: ... Temporary breakpoint 4, main (argc=1, argv=0x7fffffffdb38) at main.cpp:6 6 step.show("hi %s\n", "there"); (gdb) b Step::show Breakpoint 2 at 0x400712: file Step.h, line 15. (gdb) c Continuing. infrun: clear_proceed_status_thread (process 20347) infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT, step=0) infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20347] at 0x4006bb hi there infrun: wait_for_inferior () infrun: target_wait (-1, status) = infrun: 20347 [process 20347], infrun: status->kind = exited, status = 0 infrun: infwait_normal_state infrun: TARGET_WAITKIND_EXITED [Inferior 1 (process 20347) exited normally] infrun: stop_stepping (gdb) -- You are receiving this mail because: You are on the CC list for the bug.