summaryrefslogtreecommitdiff
path: root/gcc/ada/s-trasym.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-20 10:13:47 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-20 10:13:47 +0000
commit2f5441e12ec681ffc1c29f35901053c909ddbb03 (patch)
treece636ee22f22a65fbe93ce2cc813d6e3a8a4bf72 /gcc/ada/s-trasym.adb
parentdc62faeeec97287ca7b6e89d5481cb48fad9b082 (diff)
downloadgcc-2f5441e12ec681ffc1c29f35901053c909ddbb03.tar.gz
2015-10-20 Bob Duff <duff@adacore.com>
* a-coinve.adb, a-contai.adb: Update comments. * pprint.ads: Minor reformatting. 2015-10-20 Tristan Gingold <gingold@adacore.com> * env.c, init.c: Handle arm64-darwin like arm-darwin. * tracebak.c: Handle arm64-darwin. 2015-10-20 Bob Duff <duff@adacore.com> * s-trasym.adb (Symbolic_Traceback): When giving the traceback as hexadecimal code addresses, separate by blanks instead of LF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-trasym.adb')
-rw-r--r--gcc/ada/s-trasym.adb7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/s-trasym.adb b/gcc/ada/s-trasym.adb
index 1dd0d71529e..b98d1c334dd 100644
--- a/gcc/ada/s-trasym.adb
+++ b/gcc/ada/s-trasym.adb
@@ -30,8 +30,8 @@
------------------------------------------------------------------------------
-- This is the default implementation for platforms where the full capability
--- is not supported. It returns tracebacks as lists of LF separated strings of
--- the form "0x..." corresponding to the addresses.
+-- is not supported. It returns tracebacks as lists of hexadecimal addresses
+-- of the form "0x...".
pragma Polling (Off);
-- We must turn polling off for this unit, because otherwise we can get
@@ -67,9 +67,10 @@ package body System.Traceback.Symbolic is
Last := Last + 2;
Result (Last + 1 .. Last + Img'Length) := Img;
Last := Last + Img'Length + 1;
- Result (Last) := ASCII.LF;
+ Result (Last) := ' ';
end loop;
+ Result (Last) := ASCII.LF;
return Result (1 .. Last);
end;
end if;