s-stchop-vxworks.adb (Set_Stack_Info): Instead of trying to map the VxWorks task...
authorMatthew Gingell <gingell@adacore.com>
Wed, 6 Jun 2007 10:50:30 +0000 (12:50 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:50:30 +0000 (12:50 +0200)
commitc956c1be72ecbe929fce84221c683442f4497f00
treeb9ec064df236278e82d16c0d220b357e26f258e4
parentc7f0bdd2f88d0182bf1d17dbe073754d08cb3ec3
s-stchop-vxworks.adb (Set_Stack_Info): Instead of trying to map the VxWorks task descriptor in the Ada run time...

2007-04-20  Matthew Gingell  <gingell@adacore.com>
    Jose Ruiz  <ruiz@adacore.com>

* s-stchop-vxworks.adb (Set_Stack_Info): Instead of trying to map the
VxWorks task descriptor in the Ada run time, call a C subprogram
(__gnat_get_stack_info) that extracts the required information.

* sysdep.c: Back out temporary lynxos workaround.
(__gnat_get_stack_info): Add this procedure that passes to the Ada run
time the stack information associated to the currently executing task.
Only VxWorks systems require this function.

From-SVN: r125471
gcc/ada/s-stchop-vxworks.adb
gcc/ada/sysdep.c