Searched refs:MAX_PACKET_LENGTH (Results 1 – 4 of 4) sorted by relevance
14 #define MAX_PACKET_LENGTH 4096 macro55 char line_buf[MAX_PACKET_LENGTH];
265 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()
66 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()
265 return MAX_PACKET_LENGTH; in gdb_chr_can_receive()