prakhar.bahuguna at arm dot com
2017-03-06 13:20:28 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=21221
Bug ID: 21221
Summary: gdb hangs while stepping an empty loop
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: prakhar.bahuguna at arm dot com
Target Milestone: ---
Created attachment 9871
--> https://sourceware.org/bugzilla/attachment.cgi?id=9871&action=edit
Reproducer test case
Given the empty for loop in the reproducer with a large number of iterations,
gdb hangs while attempting to step over a single iteration of the loop. The
server hangs and must be interrupted manually.
The issue does not present itself if the loop contains an instruction - adding
__asm("NOP"); inside the loop is sufficient to suppress the bug and allow the
loop to be stepped correctly.
This issue can be reproduced on trunk for both ARM and x86 platforms.
Bug ID: 21221
Summary: gdb hangs while stepping an empty loop
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: prakhar.bahuguna at arm dot com
Target Milestone: ---
Created attachment 9871
--> https://sourceware.org/bugzilla/attachment.cgi?id=9871&action=edit
Reproducer test case
Given the empty for loop in the reproducer with a large number of iterations,
gdb hangs while attempting to step over a single iteration of the loop. The
server hangs and must be interrupted manually.
The issue does not present itself if the loop contains an instruction - adding
__asm("NOP"); inside the loop is sufficient to suppress the bug and allow the
loop to be stepped correctly.
This issue can be reproduced on trunk for both ARM and x86 platforms.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.