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
Kirill Smelkov
linux
Commits
cb7b2a3b
Commit
cb7b2a3b
authored
May 21, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Fix unwinder so core-dumps work again. Without this patch, most scratch-regs
came out wrong.
parent
1530cfb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
arch/ia64/kernel/unwind.c
arch/ia64/kernel/unwind.c
+4
-1
No files found.
arch/ia64/kernel/unwind.c
View file @
cb7b2a3b
...
@@ -239,7 +239,10 @@ get_scratch_regs (struct unw_frame_info *info)
...
@@ -239,7 +239,10 @@ get_scratch_regs (struct unw_frame_info *info)
if
(
!
info
->
pt
)
{
if
(
!
info
->
pt
)
{
/* This should not happen with valid unwind info. */
/* This should not happen with valid unwind info. */
UNW_DPRINT
(
0
,
"unwind.%s: bad unwind info: resetting info->pt
\n
"
,
__FUNCTION__
);
UNW_DPRINT
(
0
,
"unwind.%s: bad unwind info: resetting info->pt
\n
"
,
__FUNCTION__
);
info
->
pt
=
info
->
sp
-
16
;
if
(
info
->
flags
&
UNW_FLAG_INTERRUPT_FRAME
)
info
->
pt
=
(
unsigned
long
)
((
struct
pt_regs
*
)
info
->
psp
-
1
);
else
info
->
pt
=
info
->
sp
-
16
;
}
}
UNW_DPRINT
(
3
,
"unwind.%s: sp 0x%lx pt 0x%lx
\n
"
,
__FUNCTION__
,
info
->
sp
,
info
->
pt
);
UNW_DPRINT
(
3
,
"unwind.%s: sp 0x%lx pt 0x%lx
\n
"
,
__FUNCTION__
,
info
->
sp
,
info
->
pt
);
return
(
struct
pt_regs
*
)
info
->
pt
;
return
(
struct
pt_regs
*
)
info
->
pt
;
...
...
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