s-taprop-linux.adb (Get_Stack_Attributes): New subprogram.
authorOlivier Hainque <hainque@adacore.com>
Tue, 14 Aug 2007 08:44:14 +0000 (10:44 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 14 Aug 2007 08:44:14 +0000 (10:44 +0200)
commitfebb581c99239fc2aea70aa3647e941604568f06
treeab952ee805e9aed74a88701e2571302c7e3bcd3f
parenta2264f2d5402eae62020d5e7556fb1a5ebd28729
s-taprop-linux.adb (Get_Stack_Attributes): New subprogram.

2007-08-14  Olivier Hainque  <hainque@adacore.com>

* s-taprop-linux.adb (Get_Stack_Attributes): New subprogram. Fetch the
stack size and initial stack pointer value for a given task.
(Enter_Task): Get the stack attributes of the task we are entering and
let the stack checking engine know about them.

* s-stchop.adb, s-stchop.ads (Notify_Stack_Attributes): New subprogram.
Let the stack-checking engine know about the initial sp value and stack
size associated with the current task.
(Set_Stack_Info): If a stack base has been notified for the current
task, honor it. Fallback to the previous less accurate method otherwise.

* s-stchop-vxworks.adb (Notify_Stack_Attributes): Dummy body.

From-SVN: r127435
gcc/ada/s-stchop-vxworks.adb
gcc/ada/s-stchop.adb
gcc/ada/s-stchop.ads
gcc/ada/s-taprop-linux.adb