This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/16280] Step into an inline function with varargs doesn't stop
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 01 Dec 2013 22:03:13 +0000
- Subject: [Bug breakpoints/16280] Step into an inline function with varargs doesn't stop
- Auto-submitted: auto-generated
- References: <bug-16280-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16280
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
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.