This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12709] Stepping on a while loop freezes the GDB (MIPSplatform)
- From: "fyzmat at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 27 Apr 2011 20:38:30 +0000
- Subject: [Bug gdb/12709] Stepping on a while loop freezes the GDB (MIPSplatform)
- Auto-submitted: auto-generated
- References: <bug-12709-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12709
fyzmat at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
Severity|normal |enhancement
--- Comment #2 from fyzmat at gmail dot com 2011-04-27 20:38:28 UTC ---
Thanks for the answer,
I can understand, that the described behaviour is correct.
When I try to reproduce this in standart C desktop application, the GDB will
stop on the while line after the step command. So I considered the behaviour
bad.
The 'c' variable can be changed for example from another thread. From my point
of view this behaviour can be little uncomfortable for the programmer, because
when applying the step command the GDB will be frozen until the 'c' is changed.
This can take very long, because the GDB is just single stepping for all the
time. (In my case it takes minutes). Thus the programmer is forced to restart
the debugging session.
I will reopen the bug, because I am not sure, if anybody would notice the
resolved bug.
Tomas
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.