diff options
Diffstat (limited to 'gcc/ada/s-trasym.adb')
-rw-r--r-- | gcc/ada/s-trasym.adb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/s-trasym.adb b/gcc/ada/s-trasym.adb index ad5588761d1..740bef9eeea 100644 --- a/gcc/ada/s-trasym.adb +++ b/gcc/ada/s-trasym.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1999-2014, AdaCore -- +-- Copyright (C) 1999-2015, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -33,6 +33,10 @@ -- is not supported. It returns tracebacks as lists of LF separated strings of -- the form "0x..." corresponding to the addresses. +pragma Polling (Off); +-- We must turn polling off for this unit, because otherwise we can get +-- elaboration circularities when polling is turned on + with Ada.Exceptions.Traceback; use Ada.Exceptions.Traceback; with System.Address_Image; |