summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_cg.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 13:26:24 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 13:26:24 +0000
commit70be2d3a9f73df3633c6f38c7c5e6749542c5c68 (patch)
tree16da38487c1dbb96449cc09436baac0dc959fce1 /gcc/ada/exp_cg.adb
parent62e69e24b6dcc74860ff78ab576e400bab4b6962 (diff)
downloadgcc-70be2d3a9f73df3633c6f38c7c5e6749542c5c68.tar.gz
2010-06-21 Pascal Obry <obry@adacore.com>
* prj-nmsc.adb (Search_Directories): Use the non-translated directory path to open it. 2010-06-21 Javier Miranda <miranda@adacore.com> * exp_cg.adb (Write_Call_Info): Fill the component sourcename using the external name. 2010-06-21 Ed Schonberg <schonberg@adacore.com> * exp_ch4.adb (Expand_Concatenate): If an object declaration is created to hold the result, indicate that the target of the declaration does not need an initialization, to prevent spurious errors when Initialize_Scalars is enabled. 2010-06-21 Ed Schonberg <schonberg@adacore.com> * a-tifiio.adb (Put): In the procedure that performs I/O on a String, Fore is not bound by line length. The Fore parameter of the internal procedure that performs the operation is an integer. 2010-06-21 Thomas Quinot <quinot@adacore.com> * sem_res.adb, checks.adb: Minor reformatting. 2010-06-21 Emmanuel Briot <briot@adacore.com> * s-regpat.adb (Next_Instruction, Get_Next_Offset): Removed, merged into Get_Next. (Insert_Operator_Before): New subprogram, avoids duplicated code (Compile): Avoid doing two compilations when the pattern matcher ends up being small. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_cg.adb')
-rw-r--r--gcc/ada/exp_cg.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/exp_cg.adb b/gcc/ada/exp_cg.adb
index f307e98619e..fcfbb263ac3 100644
--- a/gcc/ada/exp_cg.adb
+++ b/gcc/ada/exp_cg.adb
@@ -28,6 +28,7 @@ with Debug; use Debug;
with Einfo; use Einfo;
with Elists; use Elists;
with Exp_Disp; use Exp_Disp;
+with Exp_Dbug; use Exp_Dbug;
with Exp_Tss; use Exp_Tss;
with Lib; use Lib;
with Namet; use Namet;
@@ -392,7 +393,8 @@ package body Exp_CG is
Write_Str ("edge: { sourcename: ");
Write_Char ('"');
- Write_Name (Chars (Defining_Entity (P)));
+ Get_External_Name (Defining_Entity (P), Has_Suffix => False);
+ Write_Str (Name_Buffer (1 .. Name_Len));
if Nkind (P) = N_Package_Declaration then
Write_Str ("___elabs");