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

This commit is contained in:
Alexandre Julliard 2006-04-10 20:27:45 +02:00
parent 820c5927c8
commit d8659a9773
6 changed files with 0 additions and 43 deletions

View File

@ -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 )
{

View File

@ -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 )
{

View File

@ -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 )
{

View File

@ -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 )
{

View File

@ -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 )
{

View File

@ -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 );