gcc/ada/
* libgnarl/s-tasdeb.ads (Known_Tasks): Add Atomic_Components
aspect.
-- General GDB support --
-------------------------
- Known_Tasks : array (0 .. 999) of Task_Id := (others => null);
+ Known_Tasks : array (0 .. 999) of Task_Id := (others => null)
+ with Atomic_Components;
-- Global array of tasks read by gdb, and updated by Create_Task and
- -- Finalize_TCB
+ -- Finalize_TCB. Ensure access to its components is atomic to allow
+ -- lock-free concurrent access.
Debug_Event_Activating : constant := 1;
Debug_Event_Run : constant := 2;