server: Get rid of RIP_EVENT union elements.

This commit is contained in:
Sebastian Lackner 2014-06-23 03:02:31 +02:00 committed by Alexandre Julliard
parent 0114be0978
commit 9696ea5063
4 changed files with 2 additions and 18 deletions

View File

@ -112,12 +112,6 @@ typedef union
int __pad;
mod_handle_t base;
} unload_dll;
struct
{
int code;
int error;
int type;
} rip_info;
} debug_event_t;
@ -5840,6 +5834,6 @@ union generic_reply
struct set_suspend_context_reply set_suspend_context_reply;
};
#define SERVER_PROTOCOL_VERSION 455
#define SERVER_PROTOCOL_VERSION 456
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */

View File

@ -211,7 +211,7 @@ static int fill_unload_dll_event( struct debug_event *event, const void *arg )
typedef int (*fill_event_func)( struct debug_event *event, const void *arg );
#define NB_DEBUG_EVENTS OUTPUT_DEBUG_STRING_EVENT /* RIP_EVENT not supported */
#define NB_DEBUG_EVENTS UNLOAD_DLL_DEBUG_EVENT
static const fill_event_func fill_debug_event[NB_DEBUG_EVENTS] =
{

View File

@ -128,12 +128,6 @@ typedef union
int __pad;
mod_handle_t base; /* base address of the dll */
} unload_dll;
struct
{
int code; /* RIP_EVENT */
int error; /* ??? */
int type; /* ??? */
} rip_info;
} debug_event_t;
/* supported CPU types */

View File

@ -712,10 +712,6 @@ static void dump_varargs_debug_event( const char *prefix, data_size_t size )
dump_uint64( ",base=", &event.unload_dll.base );
fputc( '}', stderr );
break;
case RIP_EVENT:
fprintf( stderr, "%s{rip,err=%d,type=%d}", prefix,
event.rip_info.error, event.rip_info.type );
break;
case 0: /* zero is the code returned on timeouts */
fprintf( stderr, "%s{}", prefix );
break;