This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/35284] Branch to 0x0 from Ada run-time



------- Comment #27 from laurent at guerby dot net  2008-04-02 07:36 -------
My guess is that Initialize_TCB you wrote for RTEMS (s-taprop-rtems) does not
set success to True for some reason:

   procedure Initialize_ATCB
...
      STPO.Initialize_TCB (T, Success); --- here call into RTEMS specific code

      if not Success then
         return;
      end if;

      T.Common.Parent := Parent;
      T.Common.Base_Priority := Base_Priority;
      T.Common.Current_Priority := 0;   ---- <==== here comes the zero

To look for variables under gdb try "set lang c", and "info local", "info arg",
you'll get strange names but you should be able to print.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35284


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]