public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/18062] New: Infinite loop when single-step out of syscall
@ 2015-02-28 15:23 patrick at parcs dot ath.cx
2015-02-28 15:24 ` [Bug breakpoints/18062] " patrick at parcs dot ath.cx
2015-02-28 15:38 ` patrick at parcs dot ath.cx
0 siblings, 2 replies; 3+ messages in thread
From: patrick at parcs dot ath.cx @ 2015-02-28 15:23 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18062
Bug ID: 18062
Summary: Infinite loop when single-step out of syscall
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: patrick at parcs dot ath.cx
When the inferior is stopped inside a syscall (e.g. poll), single-stepping out
of this syscall (via "step") causes GDB to loop and to slowly consume more and
more memory. This can easily be seen when debugging GDB with GDB:
$ gdb gdb
(gdb) run
Starting program: /scratchpad/binutils-gdb-build/gdb/gdb
(gdb) ^C
Program received signal SIGINT, Interrupt.
0x00007ffff6d784f0 in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) step
Single stepping until exit from function poll,
which has no line number information.
<infinite loop here>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/18062] Infinite loop when single-step out of syscall
2015-02-28 15:23 [Bug breakpoints/18062] New: Infinite loop when single-step out of syscall patrick at parcs dot ath.cx
@ 2015-02-28 15:24 ` patrick at parcs dot ath.cx
2015-02-28 15:38 ` patrick at parcs dot ath.cx
1 sibling, 0 replies; 3+ messages in thread
From: patrick at parcs dot ath.cx @ 2015-02-28 15:24 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18062
patrick at parcs dot ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |x86
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/18062] Infinite loop when single-step out of syscall
2015-02-28 15:23 [Bug breakpoints/18062] New: Infinite loop when single-step out of syscall patrick at parcs dot ath.cx
2015-02-28 15:24 ` [Bug breakpoints/18062] " patrick at parcs dot ath.cx
@ 2015-02-28 15:38 ` patrick at parcs dot ath.cx
1 sibling, 0 replies; 3+ messages in thread
From: patrick at parcs dot ath.cx @ 2015-02-28 15:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18062
patrick at parcs dot ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-unknown-linux-gnu
Host|x86 |x86_64-unknown-linux-gnu
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-28 15:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-28 15:23 [Bug breakpoints/18062] New: Infinite loop when single-step out of syscall patrick at parcs dot ath.cx
2015-02-28 15:24 ` [Bug breakpoints/18062] " patrick at parcs dot ath.cx
2015-02-28 15:38 ` patrick at parcs dot ath.cx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).