This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [patch] simplify debugging in-container tests (and regular tests)


* DJ Delorie:

> +  while (wait_for_debugger)
> +    ;

Can you put a usleep call into the loop or something like that?
Hard busy-waiting seems to be a bit excessive.

(pause does not fail with EINTR when attaching GDB, so that doesn't
work.)

Thanks,
Florian


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