Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
efd90a68
Commit
efd90a68
authored
Apr 08, 2008
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Task_Address.
From-SVN: r134077
parent
7fee006f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ada/a-taside.adb
+3
-1
gcc/ada/s-tasdeb.adb
+3
-2
No files found.
gcc/ada/a-taside.adb
View file @
efd90a68
...
...
@@ -34,6 +34,7 @@
with
System
.
Address_Image
;
with
System
.
Parameters
;
with
System
.
Soft_Links
;
with
System
.
Task_Primitives
;
with
System
.
Task_Primitives
.
Operations
;
with
Ada
.
Unchecked_Conversion
;
...
...
@@ -113,7 +114,8 @@ package body Ada.Task_Identification is
function Image (T : Task_Id) return String is
function To_Address is new
Ada.Unchecked_Conversion (Task_Id, System.Address);
Ada.Unchecked_Conversion
(Task_Id, System.Task_Primitives.Task_Address);
begin
if T = Null_Task_Id then
...
...
gcc/ada/s-tasdeb.adb
View file @
efd90a68
...
...
@@ -6,7 +6,7 @@
--
--
--
B
o
d
y
--
--
--
--
Copyright
(
C
)
1997
-
200
7
,
Free
Software
Foundation
,
Inc
.
--
--
Copyright
(
C
)
1997
-
200
8
,
Free
Software
Foundation
,
Inc
.
--
--
--
--
GNARL
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
-
--
...
...
@@ -40,6 +40,7 @@
--
in
both
normal
and
restricted
(
ravenscar
)
environments
.
with
System
.
CRTL
;
with
System
.
Task_Primitives
;
with
System
.
Task_Primitives
.
Operations
;
with
Ada
.
Unchecked_Conversion
;
...
...
@@ -48,7 +49,7 @@ package body System.Tasking.Debug is
package
STPO
renames
System
.
Task_Primitives
.
Operations
;
function
To_Integer
is
new
Ada
.
Unchecked_Conversion
(
Task_Id
,
System
.
Address
);
Ada
.
Unchecked_Conversion
(
Task_Id
,
System
.
Task_Primitives
.
Task_
Address
);
type
Trace_Flag_Set
is
array
(
Character
)
of
Boolean
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment