diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-07 14:51:44 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-07 14:51:44 +0000 |
commit | 3ae6bcd54d8f650874b3309d0f04dcf20632b612 (patch) | |
tree | cd7eed821e38c977c60f90628dafbe7922293a53 /gcc/ada/g-trasym.adb | |
parent | 44e15e2b70813ee19bee3a5c422d30f869be93bb (diff) | |
download | gcc-3ae6bcd54d8f650874b3309d0f04dcf20632b612.tar.gz |
2012-03-07 Tristan Gingold <gingold@adacore.com>
* s-taprop-vms.adb (Create_Task): set thread name.
* s-osinte-vms.ads (pthread_attr_setname_np): Declare.
2012-03-07 Arnaud Charlet <charlet@adacore.com>
* g-trasym.adb: Minor reformatting.
2012-03-07 Robert Dewar <dewar@adacore.com>
* a-ngrear.ads: Minor addition of ??? comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-trasym.adb')
-rw-r--r-- | gcc/ada/g-trasym.adb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/ada/g-trasym.adb b/gcc/ada/g-trasym.adb index ac2444e001e..2957ae087f0 100644 --- a/gcc/ada/g-trasym.adb +++ b/gcc/ada/g-trasym.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1999-2011, AdaCore -- +-- Copyright (C) 1999-2012, 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- -- @@ -42,12 +42,10 @@ package body GNAT.Traceback.Symbolic is -- Symbolic_Traceback -- ------------------------ - function Symbolic_Traceback (Traceback : Tracebacks_Array) return String - is + function Symbolic_Traceback (Traceback : Tracebacks_Array) return String is begin if Traceback'Length = 0 then return ""; - else declare Img : String := System.Address_Image (Traceback (Traceback'First)); @@ -70,8 +68,7 @@ package body GNAT.Traceback.Symbolic is end if; end Symbolic_Traceback; - function Symbolic_Traceback (E : Exception_Occurrence) return String - is + function Symbolic_Traceback (E : Exception_Occurrence) return String is begin return Symbolic_Traceback (Tracebacks (E)); end Symbolic_Traceback; |