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 python/12930] GDB state during gdb.Breakpoint::stop callback isunclear


http://sourceware.org/bugzilla/show_bug.cgi?id=12930

--- Comment #2 from Pedro Alves <pedro at codesourcery dot com> 2011-06-24 13:53:01 UTC ---
"attach" is a synchronous command.  You've effectively nested an event loop
within your "stop" callback (you'll see wait_for_inferior twice in the
backtrace).  The topmost wait_for_inferior will switch _all_ threads' state to
stopped when it finishes...
These scenarios make my head hurt with non-stop/async on...

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