Commit d8659a97 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Get rid of the no longer used get_thread_single_step function.

parent 820c5927
......@@ -334,12 +334,6 @@ void *get_thread_ip( struct thread *thread )
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 */
int tkill( int tgid, int pid, int sig )
{
......
......@@ -550,15 +550,6 @@ void *get_thread_ip( struct thread *thread )
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 */
int tkill( int tgid, int pid, int sig )
{
......
......@@ -273,18 +273,6 @@ void *get_thread_ip( struct thread *thread )
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 */
int tkill( int tgid, int pid, int sig )
{
......
......@@ -172,12 +172,6 @@ void *get_thread_ip( struct thread *thread )
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 */
int tkill( int tgid, int pid, int sig )
{
......
......@@ -261,15 +261,6 @@ void *get_thread_ip( struct thread *thread )
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 */
int tkill( int tgid, int pid, int sig )
{
......
......@@ -124,7 +124,6 @@ extern int get_ptrace_pid( struct thread *thread );
extern int suspend_for_ptrace( struct thread *thread );
extern void resume_after_ptrace( 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 set_thread_context( struct thread *thread, const CONTEXT *context, unsigned int flags );
extern int tkill( int tgid, int pid, int sig );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment