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
5ddf82b4
Commit
5ddf82b4
authored
22 years ago
by
Hans Boehm
Committed by
Hans Boehm
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
From-SVN: r55104
parent
38800fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
boehm-gc/ChangeLog
+5
-0
boehm-gc/win32_threads.c
+9
-2
No files found.
boehm-gc/ChangeLog
View file @
5ddf82b4
2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
Jonathan Clark
* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
2002-06-09 H.J. Lu (hjl@gnu.org)
* include/private/gc_locks.h (GC_test_and_set): Support
...
...
This diff is collapsed.
Click to expand it.
boehm-gc/win32_threads.c
View file @
5ddf82b4
...
...
@@ -144,8 +144,15 @@ void GC_push_all_stacks()
GC_push_one
((
word
)
thread_table
[
i
].
context
.
Edx
);
GC_push_one
((
word
)
thread_table
[
i
].
context
.
Ecx
);
GC_push_one
((
word
)
thread_table
[
i
].
context
.
Eax
);
GC_push_all_stack
((
char
*
)
thread_table
[
i
].
context
.
Esp
,
thread_table
[
i
].
stack
);
if
(
thread_table
[
i
].
context
.
Esp
>=
(
DWORD
)
thread_table
[
i
].
stack
||
thread_table
[
i
].
context
.
Esp
<
(
DWORD
)
bottom
)
{
WARN
(
"Thread stack pointer 0x%lx out of range, pushing everything"
,
thread_table
[
i
].
context
.
Esp
);
GC_push_all_stack
((
char
*
)
bottom
,
thread_table
[
i
].
stack
);
}
else
{
GC_push_all_stack
((
char
*
)
thread_table
[
i
].
context
.
Esp
,
thread_table
[
i
].
stack
);
}
# else
# ifdef ARM32
if
(
thread_table
[
i
].
context
.
Sp
>=
(
DWORD
)
thread_table
[
i
].
stack
...
...
This diff is collapsed.
Click to expand it.
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