From e05be4b4c70f72b8836cd89428d99a709c3d83b1 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 10 Feb 2005 14:56:32 +0100 Subject: [PATCH] s-tporft.adb (Register_Foreign_Thread): Initialize Task_Image[_Len] fields for foreign threads. * s-tporft.adb (Register_Foreign_Thread): Initialize Task_Image[_Len] fields for foreign threads. From-SVN: r94823 --- gcc/ada/s-tporft.adb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ada/s-tporft.adb b/gcc/ada/s-tporft.adb index feb922a6ce6..bcd7f97fd96 100644 --- a/gcc/ada/s-tporft.adb +++ b/gcc/ada/s-tporft.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2002-2004, Free Software Foundation, Inc. -- +-- Copyright (C) 2002-2005, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -83,6 +83,9 @@ begin Self_Id.Common.State := Runnable; Self_Id.Awake_Count := 1; + Self_Id.Common.Task_Image (1 .. 14) := "foreign thread"; + Self_Id.Common.Task_Image_Len := 14; + -- Since this is not an ordinary Ada task, we will start out undeferred Self_Id.Deferral_Level := 0; -- 2.30.2