This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/16280] Step into an inline function with varargs doesn't stop


https://sourceware.org/bugzilla/show_bug.cgi?id=16280

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
> infrun: stop_pc = 0x4006e0
> infrun: stepped into subroutine
> infrun: inserting step-resume breakpoint at 0x400712

GDB detected the program stepped into Step::show, and tried to put a breakpoint
past the prologue (0x400712), and run to it.  But, the breakpoint is never hit:

> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]