Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d8659a97
Commit
d8659a97
authored
Apr 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Get rid of the no longer used get_thread_single_step function.
parent
820c5927
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
43 deletions
+0
-43
context_alpha.c
server/context_alpha.c
+0
-6
context_i386.c
server/context_i386.c
+0
-9
context_powerpc.c
server/context_powerpc.c
+0
-12
context_sparc.c
server/context_sparc.c
+0
-6
context_x86_64.c
server/context_x86_64.c
+0
-9
thread.h
server/thread.h
+0
-1
No files found.
server/context_alpha.c
View file @
d8659a97
...
@@ -334,12 +334,6 @@ void *get_thread_ip( struct thread *thread )
...
@@ -334,12 +334,6 @@ void *get_thread_ip( struct thread *thread )
return
(
void
*
)
context
.
Fir
;
return
(
void
*
)
context
.
Fir
;
}
}
/* determine if we should continue the thread in single-step mode */
int
get_thread_single_step
(
struct
thread
*
thread
)
{
return
0
;
/* FIXME */
}
/* send a signal to a specific thread */
/* send a signal to a specific thread */
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
{
{
...
...
server/context_i386.c
View file @
d8659a97
...
@@ -550,15 +550,6 @@ void *get_thread_ip( struct thread *thread )
...
@@ -550,15 +550,6 @@ void *get_thread_ip( struct thread *thread )
return
(
void
*
)
context
.
Eip
;
return
(
void
*
)
context
.
Eip
;
}
}
/* determine if we should continue the thread in single-step mode */
int
get_thread_single_step
(
struct
thread
*
thread
)
{
CONTEXT
context
;
if
(
thread
->
context
)
return
0
;
/* don't single-step inside exception event */
get_thread_context_ptrace
(
thread
,
CONTEXT_CONTROL
,
&
context
);
return
(
context
.
EFlags
&
0x100
)
!=
0
;
}
/* send a signal to a specific thread */
/* send a signal to a specific thread */
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
{
{
...
...
server/context_powerpc.c
View file @
d8659a97
...
@@ -273,18 +273,6 @@ void *get_thread_ip( struct thread *thread )
...
@@ -273,18 +273,6 @@ void *get_thread_ip( struct thread *thread )
return
(
void
*
)
context
.
Iar
;
return
(
void
*
)
context
.
Iar
;
}
}
/* determine if we should continue the thread in single-step mode */
int
get_thread_single_step
(
struct
thread
*
thread
)
{
CONTEXT
context
;
if
(
thread
->
context
)
return
0
;
get_thread_context_ptrace
(
thread
,
CONTEXT_CONTROL
,
&
context
);
#ifndef MSR_SE
# define MSR_SE (1<<10)
#endif
return
(
context
.
Msr
&
MSR_SE
)
!=
0
;
}
/* send a signal to a specific thread */
/* send a signal to a specific thread */
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
{
{
...
...
server/context_sparc.c
View file @
d8659a97
...
@@ -172,12 +172,6 @@ void *get_thread_ip( struct thread *thread )
...
@@ -172,12 +172,6 @@ void *get_thread_ip( struct thread *thread )
return
(
void
*
)
context
.
pc
;
return
(
void
*
)
context
.
pc
;
}
}
/* determine if we should continue the thread in single-step mode */
int
get_thread_single_step
(
struct
thread
*
thread
)
{
return
0
;
/* FIXME */
}
/* send a signal to a specific thread */
/* send a signal to a specific thread */
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
{
{
...
...
server/context_x86_64.c
View file @
d8659a97
...
@@ -261,15 +261,6 @@ void *get_thread_ip( struct thread *thread )
...
@@ -261,15 +261,6 @@ void *get_thread_ip( struct thread *thread )
return
(
void
*
)
context
.
Rip
;
return
(
void
*
)
context
.
Rip
;
}
}
/* determine if we should continue the thread in single-step mode */
int
get_thread_single_step
(
struct
thread
*
thread
)
{
CONTEXT
context
;
if
(
thread
->
context
)
return
0
;
/* don't single-step inside exception event */
get_thread_context_ptrace
(
thread
,
CONTEXT_CONTROL
,
&
context
);
return
(
context
.
EFlags
&
0x100
)
!=
0
;
}
/* send a signal to a specific thread */
/* send a signal to a specific thread */
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
int
tkill
(
int
tgid
,
int
pid
,
int
sig
)
{
{
...
...
server/thread.h
View file @
d8659a97
...
@@ -124,7 +124,6 @@ extern int get_ptrace_pid( struct thread *thread );
...
@@ -124,7 +124,6 @@ extern int get_ptrace_pid( struct thread *thread );
extern
int
suspend_for_ptrace
(
struct
thread
*
thread
);
extern
int
suspend_for_ptrace
(
struct
thread
*
thread
);
extern
void
resume_after_ptrace
(
struct
thread
*
thread
);
extern
void
resume_after_ptrace
(
struct
thread
*
thread
);
extern
void
*
get_thread_ip
(
struct
thread
*
thread
);
extern
void
*
get_thread_ip
(
struct
thread
*
thread
);
extern
int
get_thread_single_step
(
struct
thread
*
thread
);
extern
void
get_thread_context
(
struct
thread
*
thread
,
CONTEXT
*
context
,
unsigned
int
flags
);
extern
void
get_thread_context
(
struct
thread
*
thread
,
CONTEXT
*
context
,
unsigned
int
flags
);
extern
void
set_thread_context
(
struct
thread
*
thread
,
const
CONTEXT
*
context
,
unsigned
int
flags
);
extern
void
set_thread_context
(
struct
thread
*
thread
,
const
CONTEXT
*
context
,
unsigned
int
flags
);
extern
int
tkill
(
int
tgid
,
int
pid
,
int
sig
);
extern
int
tkill
(
int
tgid
,
int
pid
,
int
sig
);
...
...
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