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/12709] Stepping on a while loop freezes the GDB (MIPSplatform)


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.


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