* Move binrz meson directives to binrz/ dir * Move rizin-shell-parser to a subproject * Move bochs to a meson subproject * Move rzqnx to meson subproject * Move winkd to a meson subproject * Move rzar to a meson subproject * Move rzw32dbg_wrap to a meson subproject * Move ptrace-wrap to a meson subproject * Move rzgdb to a meson subproject * Rename w32dbg_wrap to rzw32dbg_wrap * Update CODEOWNERS * Remove old references to shlr * Move shlr/heap stuff in core and remove shlr/arm * Move spp to a meson subproject * Remove last references to shlr * Remove use_webui option * Move include files directives to librz/include/meson.build * Move librz meson directives into librz/meson.build * Handle d/ directories inside the specific module meson.build * Move plugins listing to specific module meson.build * Move rzheap to its own subproject * Fix js linter and licenses * Use meson.override_dependency for all rz_ modules
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
// SPDX-FileCopyrightText: 2014 defragger <rlaemmert@gmail.com>
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
/*! For handling responses from gdbserver */
|
|
/**
|
|
* See Appendix E in the gdb manual (GDB Remote Serial Protocol)
|
|
* Packets look following: $ starts a command/packet, the end is indicated
|
|
* with # and a final checksum
|
|
* $<command>#<checksum>
|
|
*/
|
|
|
|
#ifndef RESPONSES_H
|
|
#define RESPONSES_H
|
|
|
|
#include <string.h>
|
|
#include "libgdbr.h"
|
|
#include "utils.h"
|
|
|
|
int handle_g(libgdbr_t *g);
|
|
int handle_G(libgdbr_t *g);
|
|
int handle_m(libgdbr_t *g);
|
|
int handle_M(libgdbr_t *g);
|
|
int handle_P(libgdbr_t *g);
|
|
int handle_cont(libgdbr_t *g);
|
|
int handle_qStatus(libgdbr_t *g);
|
|
int handle_qC(libgdbr_t *g);
|
|
int handle_execFileRead(libgdbr_t *g);
|
|
int handle_qSupported(libgdbr_t *g);
|
|
int handle_setbp(libgdbr_t *g);
|
|
int handle_removebp(libgdbr_t *g);
|
|
int handle_attach(libgdbr_t *g);
|
|
int handle_vFile_open(libgdbr_t *g);
|
|
int handle_vFile_pread(libgdbr_t *g, ut8 *buf);
|
|
int handle_vFile_close(libgdbr_t *g);
|
|
int handle_stop_reason(libgdbr_t *g);
|
|
|
|
// LLDB
|
|
int handle_lldb_read_reg(libgdbr_t *g);
|
|
|
|
#endif // RESPONSES_H
|