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

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.


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