mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-09 00:15:07 +00:00
![Xu Jun](/assets/img/avatar_default.png)
- use platform independent data types in debug-engine library - add os_socket APIs and provide windows and posix implementation - avoid using platform related header files in non-platform layer - use format specifiers macros for sprintf and sscanf - change thread handle type from uint64 to korp_tid - add lock when sending socket packet to avoid thread racing
62 lines
1.2 KiB
C
62 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2021 Ant Group. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
#ifndef HANDLER_H
|
|
#define HANDLER_H
|
|
|
|
#include "gdbserver.h"
|
|
|
|
int
|
|
wasm_debug_handler_init();
|
|
|
|
void
|
|
wasm_debug_handler_deinit();
|
|
|
|
void
|
|
handle_generay_set(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_generay_query(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_v_packet(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_threadstop_request(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_set_current_thread(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_get_register(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_get_json_request(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_get_read_binary_memory(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_get_read_memory(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_get_write_memory(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_add_break(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_remove_break(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_continue_request(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle_kill_request(WASMGDBServer *server, char *payload);
|
|
|
|
void
|
|
handle____request(WASMGDBServer *server, char *payload);
|
|
#endif
|