tracebak.c
23.1 KB
-
[Ada] Fix __gnat_backtrace for VxWorks7 on x86 · fe1db400
A STORAGE ERROR is raised in __gnat_backtrace: adainit: 0x00400DBC Execution of ce.vxe terminated by unhandled exception raised STORAGE_ERROR : SIGSEGV: possible stack overflow Call stack traceback locations: 0x4082f1 0x408323 0x4080c9 It was passing with vxsim because the WRS_RTP_BASE is set to a different place hence the (CURRENT) < (TOP_STACK) was stopping the backtrace at the right time. So let's stop at the main symbol when RTS=rtp. 2018-05-31 Frederic Konrad <konrad@adacore.com> gcc/ada/ * tracebak.c (STOP_FRAME): Harden condition. (is_return_from, EXTRA_STOP_CONDITION): New helpers for VxWorks in RTP mode. From-SVN: r261010
Frederic Konrad committed