Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
d302d05c
Commit
d302d05c
authored
Oct 11, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Move ptrace prototypes to ptrace.h
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
0926bf95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
arch/mips/include/asm/ptrace.h
arch/mips/include/asm/ptrace.h
+6
-0
arch/mips/kernel/ptrace32.c
arch/mips/kernel/ptrace32.c
+0
-6
No files found.
arch/mips/include/asm/ptrace.h
View file @
d302d05c
...
...
@@ -120,6 +120,12 @@ struct pt_watch_regs {
struct
task_struct
;
extern
int
ptrace_getregs
(
struct
task_struct
*
child
,
__s64
__user
*
data
);
extern
int
ptrace_setregs
(
struct
task_struct
*
child
,
__s64
__user
*
data
);
extern
int
ptrace_getfpregs
(
struct
task_struct
*
child
,
__u32
__user
*
data
);
extern
int
ptrace_setfpregs
(
struct
task_struct
*
child
,
__u32
__user
*
data
);
extern
int
ptrace_get_watch_regs
(
struct
task_struct
*
child
,
struct
pt_watch_regs
__user
*
addr
);
extern
int
ptrace_set_watch_regs
(
struct
task_struct
*
child
,
...
...
arch/mips/kernel/ptrace32.c
View file @
d302d05c
...
...
@@ -37,12 +37,6 @@
#include <asm/uaccess.h>
#include <asm/bootinfo.h>
int
ptrace_getregs
(
struct
task_struct
*
child
,
__s64
__user
*
data
);
int
ptrace_setregs
(
struct
task_struct
*
child
,
__s64
__user
*
data
);
int
ptrace_getfpregs
(
struct
task_struct
*
child
,
__u32
__user
*
data
);
int
ptrace_setfpregs
(
struct
task_struct
*
child
,
__u32
__user
*
data
);
/*
* Tracing a 32-bit process with a 64-bit strace and vice versa will not
* work. I don't know how to fix this.
...
...
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