Home
last modified time | relevance | path

Searched refs:MAX_PACKET_LENGTH (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/gdbstub/
H A Dinternals.h14 #define MAX_PACKET_LENGTH 4096 macro
55 char line_buf[MAX_PACKET_LENGTH];
H A Duser-target.c265 if (len > (MAX_PACKET_LENGTH - 5) / 2) { in gdb_handle_query_xfer_auxv()
266 len = (MAX_PACKET_LENGTH - 5) / 2; in gdb_handle_query_xfer_auxv()
H A Dgdbstub.c66 gdbserver_state.mem_buf = g_byte_array_sized_new(MAX_PACKET_LENGTH); in gdb_init_gdbserver_state()
67 gdbserver_state.last_packet = g_byte_array_sized_new(MAX_PACKET_LENGTH + 4); in gdb_init_gdbserver_state()
1276 if (gdb_get_cmd_param(params, 1)->val_ull > MAX_PACKET_LENGTH / 2) { in handle_read_mem()
1651 g_string_printf(gdbserver_state.str_buf, "PacketSize=%x", MAX_PACKET_LENGTH); in handle_query_supported()
1732 if (len > (MAX_PACKET_LENGTH - 5) / 2) { in handle_query_xfer_features()
1733 len = (MAX_PACKET_LENGTH - 5) / 2; in handle_query_xfer_features()
H A Dsystem.c265 return MAX_PACKET_LENGTH; in gdb_chr_can_receive()