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
6c4986f1
Commit
6c4986f1
authored
Mar 26, 2004
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Add more useful information to the oops output.
parent
05bef074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
arch/ppc/kernel/process.c
arch/ppc/kernel/process.c
+12
-2
No files found.
arch/ppc/kernel/process.c
View file @
6c4986f1
...
@@ -266,8 +266,8 @@ void show_regs(struct pt_regs * regs)
...
@@ -266,8 +266,8 @@ void show_regs(struct pt_regs * regs)
trap
=
TRAP
(
regs
);
trap
=
TRAP
(
regs
);
if
(
trap
==
0x300
||
trap
==
0x600
)
if
(
trap
==
0x300
||
trap
==
0x600
)
printk
(
"DAR: %08lX, DSISR: %08lX
\n
"
,
regs
->
dar
,
regs
->
dsisr
);
printk
(
"DAR: %08lX, DSISR: %08lX
\n
"
,
regs
->
dar
,
regs
->
dsisr
);
printk
(
"TASK = %p[%d] '%s' "
,
printk
(
"TASK = %p[%d] '%s'
THREAD: %p
"
,
current
,
current
->
pid
,
current
->
comm
);
current
,
current
->
pid
,
current
->
comm
,
current
->
thread_info
);
printk
(
"Last syscall: %ld "
,
current
->
thread
.
last_syscall
);
printk
(
"Last syscall: %ld "
,
current
->
thread
.
last_syscall
);
#if defined(CONFIG_4xx) && defined(DCRN_PLB0_BEAR)
#if defined(CONFIG_4xx) && defined(DCRN_PLB0_BEAR)
...
@@ -296,6 +296,16 @@ void show_regs(struct pt_regs * regs)
...
@@ -296,6 +296,16 @@ void show_regs(struct pt_regs * regs)
break
;
break
;
}
}
printk
(
"
\n
"
);
printk
(
"
\n
"
);
#ifdef CONFIG_KALLSYMS
/*
* Lookup NIP late so we have the best change of getting the
* above info out without failing
*/
printk
(
"NIP [%08lx] "
,
regs
->
nip
);
print_symbol
(
"%s
\n
"
,
regs
->
nip
);
printk
(
"LR [%08lx] "
,
regs
->
link
);
print_symbol
(
"%s
\n
"
,
regs
->
link
);
#endif
show_stack
(
current
,
(
unsigned
long
*
)
regs
->
gpr
[
1
]);
show_stack
(
current
,
(
unsigned
long
*
)
regs
->
gpr
[
1
]);
}
}
...
...
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