minor ravenscar-thread cleanup
authorJoel Brobecker <brobecker@gnat.com>
Sat, 15 Dec 2012 14:27:13 +0000 (14:27 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 15 Dec 2012 14:27:13 +0000 (14:27 +0000)
commit25abf4decf405891fa9ad0d5ad138e021a5a872b
treed4d45ca2e6598ad7b1838e3534be5124cc7efa77
parent3d6e24f0505c5c0ee62454b1c9c27cffe17a6b3b
minor ravenscar-thread cleanup

The use of the ravenscar_open static global is unnecessary.
This patch removes it. It also removes some routines that
were created in association with the management of this global.

gdb/ChangeLog:

        * ravenscar-thread.c (ravenscar_is_open): Delete.
        (ravenscar_initialize): Move most of the code from here...
        (ravenscar_inferior_created): ... to there.  Invert logic.
        (ravenscar_close): Delete.
        (init_ravenscar_thread_ops): Remove setting of
        ravenscar_ops.to_close.
gdb/ChangeLog
gdb/ravenscar-thread.c