From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13409 invoked by alias); 1 Dec 2013 22:03:14 -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 13380 invoked by uid 48); 1 Dec 2013 22:03:14 -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:03: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: cc 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/msg00474.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16280 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #1 from Pedro Alves --- Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdb38) at main.cpp:6 6 step.show("hi %s\n", "there"); (gdb) set debug infrun 1 (gdb) s infrun: clear_proceed_status_thread (process 20301) infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT, step=1) infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20301] at 0x4006bb infrun: wait_for_inferior () infrun: target_wait (-1, status) = infrun: 20301 [process 20301], infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x4006c0 infrun: stepping inside range [0x4006bb-0x4006cf] infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20301] at 0x4006c0 infrun: prepare_to_wait infrun: target_wait (-1, status) = infrun: 20301 [process 20301], infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x4006c5 infrun: stepping inside range [0x4006bb-0x4006cf] infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20301] at 0x4006c5 infrun: prepare_to_wait infrun: target_wait (-1, status) = infrun: 20301 [process 20301], infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x4006ca infrun: stepping inside range [0x4006bb-0x4006cf] infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20301] at 0x4006ca infrun: prepare_to_wait infrun: target_wait (-1, status) = infrun: 20301 [process 20301], infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x4006e0 infrun: stepped into subroutine infrun: inserting step-resume breakpoint at 0x400712 infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [process 20301] at 0x4006e0 infrun: prepare_to_wait hi there infrun: target_wait (-1, status) = infrun: 20301 [process 20301], infrun: status->kind = exited, status = 0 infrun: infwait_normal_state infrun: TARGET_WAITKIND_EXITED [Inferior 1 (process 20301) exited normally] infrun: stop_stepping (gdb) -- You are receiving this mail because: You are on the CC list for the bug.