Eliminate some sleep usage.
authorVladimir Prus <vladimir@codesourcery.com>
Fri, 3 Apr 2009 11:23:19 +0000 (11:23 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Fri, 3 Apr 2009 11:23:19 +0000 (11:23 +0000)
commit7309f7566408129b9859af2436c178d85496654a
tree24879eb93282815f36c8f11c21c128cf680c3e03
parent6c03179c327ed55f7b870c9043943cd7883114d9
   Eliminate some sleep usage.

        * gdb.mi/basics.c (do_nothing): New.
        (main): Use do_nothing instead of printf, so that
        not to introduce race condition between output of
        inferiour and output of gdb. Do not use sleep as it
        is not generally available on embedded targets.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/basics.c