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 gdb/19061] gdb-7.10 hangs/spins-on-cpu when debugging any program on Alpha


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

--- Comment #3 from Tobias Klausmann <klausman-glibc at schwarzvogel dot de> ---
This is a somewhat representative slice of a spinning gdb run:

infrun: prepare_to_wait
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP process 2636, not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 2636, ERRNO-OK
LLW: waitpid 2636 received Trace/breakpoint trap (stopped)
CSBB: process 2636 stopped by software breakpoint
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP process 2636, has pending status
LLW: trap ptid is process 2636.
LLW: exit
infrun: target_wait (-1.0.0, status) =
infrun:   2636.2636.0 [process 2636],
infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
infrun: TARGET_WAITKIND_STOPPED
infrun: stop_pc = 0x20000011d20
infrun: BPSTAT_WHAT_SINGLE
infrun: no stepping, continue
infrun: stop_all_threads
infrun: stop_all_threads, pass=0, iterations=0
infrun:   process 2636 not executing
infrun: stop_all_threads, pass=1, iterations=1
infrun:   process 2636 not executing
infrun: stop_all_threads done
infrun: skipping breakpoint: stepping past insn at: 0x20000011d20
infrun: skipping breakpoint: stepping past insn at: 0x20000011d20
infrun: skipping breakpoint: stepping past insn at: 0x20000011d20
infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=1, current thread
[process 2636] at 0x20000011d20
LLR: Preparing to step process 2636, 0, inferior_ptid process 2636
LLR: PTRACE_SINGLESTEP process 2636, 0 (resume event thread)
sigchld
infrun: prepare_to_wait
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP process 2636, not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 2636, ERRNO-OK
LLW: waitpid 2636 received Trace/breakpoint trap (stopped)
CSBB: process 2636 stopped by software breakpoint
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP process 2636, has pending status
LLW: trap ptid is process 2636.
LLW: exit
infrun: target_wait (-1.0.0, status) =
infrun:   2636.2636.0 [process 2636],
infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
infrun: TARGET_WAITKIND_STOPPED
infrun: clear_step_over_info
infrun: restart threads: [process 2636] is event thread
infrun: stop_pc = 0x20000003428
infrun: delayed software breakpoint trap, ignoring
infrun: no stepping, continue
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[process 2636] at 0x20000003428
LLR: Preparing to resume process 2636, 0, inferior_ptid process 2636
LLR: PTRACE_CONT process 2636, 0 (resume event thread)
sigchld
infrun: prepare_to_wait
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP process 2636, not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 2636, ERRNO-OK
LLW: waitpid 2636 received Trace/breakpoint trap (stopped)
CSBB: process 2636 stopped by software breakpoint
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP process 2636, has pending status
LLW: trap ptid is process 2636.
LLW: exit
infrun: target_wait (-1.0.0, status) =
infrun:   2636.2636.0 [process 2636],
infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
infrun: TARGET_WAITKIND_STOPPED
infrun: stop_pc = 0x20000011d20

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