Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
nexedi
linux
Commits
06f13207
Commit
06f13207
authored
Aug 01, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add some more symbol debugging in register dumps.
parent
9dd3d069
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+3
-0
No files found.
arch/sparc64/kernel/process.c
View file @
06f13207
...
@@ -209,6 +209,8 @@ static void show_regwindow(struct pt_regs *regs)
...
@@ -209,6 +209,8 @@ static void show_regwindow(struct pt_regs *regs)
rw
->
ins
[
0
],
rw
->
ins
[
1
],
rw
->
ins
[
2
],
rw
->
ins
[
3
]);
rw
->
ins
[
0
],
rw
->
ins
[
1
],
rw
->
ins
[
2
],
rw
->
ins
[
3
]);
printk
(
"i4: %016lx i5: %016lx i6: %016lx i7: %016lx
\n
"
,
printk
(
"i4: %016lx i5: %016lx i6: %016lx i7: %016lx
\n
"
,
rw
->
ins
[
4
],
rw
->
ins
[
5
],
rw
->
ins
[
6
],
rw
->
ins
[
7
]);
rw
->
ins
[
4
],
rw
->
ins
[
5
],
rw
->
ins
[
6
],
rw
->
ins
[
7
]);
if
(
regs
->
tstate
&
TSTATE_PRIV
)
print_symbol
(
"I7: <%s>
\n
"
,
rw
->
ins
[
7
]);
}
}
void
show_stackframe
(
struct
sparc_stackf
*
sf
)
void
show_stackframe
(
struct
sparc_stackf
*
sf
)
...
@@ -298,6 +300,7 @@ void __show_regs(struct pt_regs * regs)
...
@@ -298,6 +300,7 @@ void __show_regs(struct pt_regs * regs)
printk
(
"o4: %016lx o5: %016lx sp: %016lx ret_pc: %016lx
\n
"
,
printk
(
"o4: %016lx o5: %016lx sp: %016lx ret_pc: %016lx
\n
"
,
regs
->
u_regs
[
12
],
regs
->
u_regs
[
13
],
regs
->
u_regs
[
14
],
regs
->
u_regs
[
12
],
regs
->
u_regs
[
13
],
regs
->
u_regs
[
14
],
regs
->
u_regs
[
15
]);
regs
->
u_regs
[
15
]);
print_symbol
(
"RPC: <%s>
\n
"
,
regs
->
u_regs
[
15
]);
show_regwindow
(
regs
);
show_regwindow
(
regs
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
spin_unlock
(
&
regdump_lock
);
spin_unlock
(
&
regdump_lock
);
...
...
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