summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taprop-linux.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 09:47:36 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 09:47:36 +0000
commit405d066a90ac581e489fa0399abb2c0b065d6c27 (patch)
tree062e0ba09344455dcff99935705e0775be767d7e /gcc/ada/s-taprop-linux.adb
parente4401d9b9118e9ca34cfc8e87796fdc5b1c36404 (diff)
downloadgcc-405d066a90ac581e489fa0399abb2c0b065d6c27.tar.gz
2009-04-16 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities and made global, to be used when installing parents of a child instance, to provide mappings for entities declared in formal packages of ancestor units. Now called from Install_Formal_Packages. 2009-04-16 Doug Rupp <rupp@adacore.com> * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others notation for clarity. * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb (Initialize): Initialize Known_Tasks with Environment task. * s-taskin.ads (Task_States): Move new states to end for the sake of GDB compatibility. * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-taprop-linux.adb')
-rw-r--r--gcc/ada/s-taprop-linux.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/s-taprop-linux.adb b/gcc/ada/s-taprop-linux.adb
index d3597a2a242..aebfcb65383 100644
--- a/gcc/ada/s-taprop-linux.adb
+++ b/gcc/ada/s-taprop-linux.adb
@@ -1244,6 +1244,12 @@ package body System.Task_Primitives.Operations is
Alternate_Stack'Address;
end if;
+ -- Make environment task known here because it doesn't go through
+ -- Activate_Tasks, which does it for all other tasks.
+
+ Known_Tasks (Known_Tasks'First) := Environment_Task;
+ Environment_Task.Known_Tasks_Index := Known_Tasks'First;
+
Enter_Task (Environment_Task);
-- Install the abort-signal handler