Home | History | Annotate | Download | only in core

Lines Matching refs:payload

36 	SIZEOF_PAYLOAD = 256, /* buffer size of GDB payload data */
49 /* Buffer for payload data when parsing a packet. Once the
51 * the reply payload. */
52 char buf [ SIZEOF_PAYLOAD + 4 ]; /* $...PAYLOAD...#XX */
53 char *payload; /* start of payload */
54 int len; /* length of payload */
139 uint8_t cksum = gdbstub_cksum ( stub->payload, stub->len );
150 stub->payload [ 0 ] = 'O';
151 stub->payload [ 1 ] = 'K';
157 stub->payload [ 0 ] = reply;
158 stub->payload [ 1 ] = gdbstub_to_hex_digit ( ( char ) num >> 4 );
159 stub->payload [ 2 ] = gdbstub_to_hex_digit ( ( char ) num );
171 ch = stub->payload [ i ];
199 gdbstub_to_hex_buf ( stub->payload, ( char * ) stub->regs, GDBMACH_SIZEOF_REGS );
209 gdbstub_from_hex_buf ( ( char * ) stub->regs, &stub->payload [ 1 ], GDBMACH_SIZEOF_REGS );
220 gdbstub_to_hex_buf ( stub->payload, ( char * ) args [ 0 ], args [ 1 ] );
229 colon >= stub->len || stub->payload [ colon ] != ':' ||
234 gdbstub_from_hex_buf ( ( char * ) args [ 0 ], &stub->payload [ colon + 1 ], ( stub->len - colon - 1 ) / 2 );
250 int enable = stub->payload [ 0 ] == 'Z' ? 1 : 0;
265 switch ( stub->payload [ 0 ] ) {
285 gdbstub_continue ( stub, stub->payload [ 0 ] == 's' );
286 if ( stub->payload [ 0 ] == 'D' ) {
317 stub->payload [ stub->len++ ] = ch;
333 our_cksum = gdbstub_cksum ( stub->payload, stub->len );
395 stub.payload = &stub.buf [ 1 ];