This is the mail archive of the gdb@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]

Re: Single stepping and threads


> Default on would be a disaster -- most threaded programs would
> not behave even remotely the same under the debugger as they would
> solo.
> 
> In fact, many would deadlock almost immediately.

Something just occured to me that was clear but maybe isn't. Is the
scheduling affected when you do a "continue"? I assumed that, if you
do a "run" or "continue", the actual scheduling policy is irrelevant,
and all threads are resumed.

-- 
Joel


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