aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-trasym.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/s-trasym.ads')
-rw-r--r--gcc/ada/libgnat/s-trasym.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/libgnat/s-trasym.ads b/gcc/ada/libgnat/s-trasym.ads
index 96b26cb..59939ce 100644
--- a/gcc/ada/libgnat/s-trasym.ads
+++ b/gcc/ada/libgnat/s-trasym.ads
@@ -105,4 +105,7 @@ package System.Traceback.Symbolic is
-- with default value), but backward compatibility for direct calls
-- is supported.
+ function Calling_Entity return String;
+ -- Return the name of the caller of the current subprogram if it's
+ -- available. Otherwise return "???".
end System.Traceback.Symbolic;