diff options
author | Frederic Konrad <konrad@adacore.com> | 2018-05-31 10:47:08 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-05-31 10:47:08 +0000 |
commit | fe1db400ad466c7c62a37d89f51ee4474bdba214 (patch) | |
tree | 74fd38f91d3b24c2cd96bdde7db74f0ab08b9e44 /gcc/tree-ssa-structalias.c | |
parent | 6ae40af30c0d2db1fe3d9610ade37004ee0c1d38 (diff) | |
download | gcc-fe1db400ad466c7c62a37d89f51ee4474bdba214.zip gcc-fe1db400ad466c7c62a37d89f51ee4474bdba214.tar.gz gcc-fe1db400ad466c7c62a37d89f51ee4474bdba214.tar.bz2 |
[Ada] Fix __gnat_backtrace for VxWorks7 on x86
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
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions