This is the mail archive of the gdb-patches@sources.redhat.com 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] |
On Thu, Jul 11, 2002 at 06:43:43PM -0500, Grant Edwards wrote: > > I've noticed that gdb uses all the CPU it can get while the > > target is running (e.g. busy-waiting 'till target stops). > > Here's a patch that fixes it. Here's a new version of the patch that does the sleep unconditionally and uses select() instead of usleep(). -- Grant Edwards grante@visi.com
Attachment:
rdi-busy-wait.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |