Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
7e14bd81
Commit
7e14bd81
authored
Dec 07, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: debugging help on 386
R=r CC=golang-dev
https://golang.org/cl/3502041
parent
49014c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/pkg/runtime/386/asm.s
src/pkg/runtime/386/asm.s
+3
-1
No files found.
src/pkg/runtime/386/asm.s
View file @
7e14bd81
...
@@ -177,7 +177,9 @@ TEXT runtime·morestack(SB),7,$0
...
@@ -177,7 +177,9 @@ TEXT runtime·morestack(SB),7,$0
//
Call
newstack
on
m
's scheduling stack.
//
Call
newstack
on
m
's scheduling stack.
MOVL
m_g0
(
BX
),
BP
MOVL
m_g0
(
BX
),
BP
MOVL
BP
,
g
(
CX
)
MOVL
BP
,
g
(
CX
)
MOVL
(
m_sched
+
gobuf_sp
)(
BX
),
SP
MOVL
(
m_sched
+
gobuf_sp
)(
BX
),
AX
MOVL
-
4
(
AX
),
BX
//
fault
if
CALL
would
,
before
smashing
SP
MOVL
AX
,
SP
CALL
runtime
·
newstack
(
SB
)
CALL
runtime
·
newstack
(
SB
)
MOVL
$
0
,
0x1003
//
crash
if
newstack
returns
MOVL
$
0
,
0x1003
//
crash
if
newstack
returns
RET
RET
...
...
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