mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 07:24:58 +00:00
server: Get rid of RIP_EVENT union elements.
This commit is contained in:
parent
0114be0978
commit
9696ea5063
|
@ -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 */
|
||||
|
|
|
@ -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] =
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue