diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-04 08:26:59 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-04 08:26:59 +0000 |
commit | 8db090bd0cc05ab0e996ce33ad3606135df4e6ff (patch) | |
tree | 9ce25e16327608ef6243ca6ccd5339febb356438 /gcc/ada/bindgen.adb | |
parent | 2ff12f45be16cc24972f57d91fcfff6b98965243 (diff) | |
download | gcc-8db090bd0cc05ab0e996ce33ad3606135df4e6ff.tar.gz |
2011-08-04 Pascal Obry <obry@adacore.com>
* adaint.c (__gnat_tmp_name): Use current process id to create temp
filenames, this ensures unicity of filenames across processes.
2011-08-04 Hristian Kirtchev <kirtchev@adacore.com>
* bindgen.adb (Gen_Finalize_Library_Ada): Rename generated routine
Raise_Controlled to Raise_From_Controlled_Operation. Update the
signature of Raise_From_Controlled_Operation by adding flag From_Abort.
Add False as the actual to From_Abort in the generated call to
Raise_From_Controlled_Operation.
2011-08-04 Jerome Lambourg <lambourg@adacore.com>
* osint-c.ads, osint-c.adb (Set_Library_Info_Name): Move to declaration
so that the ali file name can be retrieved from outside of this package.
* back_end.ads, back_end.adb (Gen_Or_Update_Object_File): New method
doing nothing in the general case, but used to update the object file
timestamp if directly generated by the backend.
* gnat1drv.adb (Gnat1drv): Make sure the object file's timestamp is set
to a later time than the ali file one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/bindgen.adb')
-rw-r--r-- | gcc/ada/bindgen.adb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ada/bindgen.adb b/gcc/ada/bindgen.adb index 01637a4a31a..5aac5c237d2 100644 --- a/gcc/ada/bindgen.adb +++ b/gcc/ada/bindgen.adb @@ -1823,16 +1823,19 @@ package body Bindgen is Set_String ("""__gnat_library_exception"");"); Write_Statement_Buffer; - Set_String (" procedure Raise_Controlled "); - Set_String ("(E : Ada.Exceptions.Exception_Occurrence);"); + Set_String (" procedure Raise_From_Controlled_"); + Set_String ("Operation "); + Set_String ("(X : Ada.Exceptions.Exception_Occurrence; "); + Set_String (" From_Abort : Boolean);"); Write_Statement_Buffer; - Set_String (" pragma Import (Ada, Raise_Controlled, "); + Set_String (" pragma Import (Ada, Raise_From_"); + Set_String ("Controlled_Operation, "); Set_String ("""__gnat_raise_from_controlled_operation"");"); Write_Statement_Buffer; WBI (" begin"); - WBI (" Raise_Controlled (LE);"); + WBI (" Raise_From_Controlled_Operation (LE, False);"); WBI (" end;"); -- VM-specific code, use regular Ada to produce the desired behavior |