Lines Matching refs:remcom_out_buffer
45 static char remcom_out_buffer[BUFMAX]; variable
489 remcom_out_buffer[0] = 'S'; in gdb_cmd_status()
490 hex_byte_pack(&remcom_out_buffer[1], ks->signo); in gdb_cmd_status()
540 kgdb_mem2hex((char *)gdb_regs, remcom_out_buffer, NUMREGBYTES); in gdb_cmd_getregs()
549 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_setregs()
552 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_setregs()
566 err = kgdb_mem2hex((char *)addr, remcom_out_buffer, length); in gdb_cmd_memread()
568 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_memread()
570 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_memread()
580 error_packet(remcom_out_buffer, err); in gdb_cmd_memwrite()
582 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_memwrite()
605 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_reg_get()
609 gdb_hex_reg_helper(regnum, remcom_out_buffer); in gdb_cmd_reg_get()
623 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_reg_set()
635 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_reg_set()
645 error_packet(remcom_out_buffer, err); in gdb_cmd_binwrite()
647 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_binwrite()
659 error_packet(remcom_out_buffer, error); in gdb_cmd_detachkill()
661 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_detachkill()
664 put_packet(remcom_out_buffer); in gdb_cmd_detachkill()
681 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_reboot()
682 put_packet(remcom_out_buffer); in gdb_cmd_reboot()
714 remcom_out_buffer[0] = 'm'; in gdb_cmd_query()
715 ptr = remcom_out_buffer + 1; in gdb_cmd_query()
744 strcpy(remcom_out_buffer, "QC"); in gdb_cmd_query()
747 pack_threadid(remcom_out_buffer + 2, thref); in gdb_cmd_query()
757 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_query()
763 remcom_out_buffer, 16); in gdb_cmd_query()
769 kgdb_mem2hex(tmpstr, remcom_out_buffer, strlen(tmpstr)); in gdb_cmd_query()
778 strcpy(remcom_out_buffer, "E01"); in gdb_cmd_query()
782 remcom_out_buffer, len); in gdb_cmd_query()
784 remcom_out_buffer[len++] = 0; in gdb_cmd_query()
787 kdb_parse(remcom_out_buffer); in gdb_cmd_query()
790 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_query()
809 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_task()
814 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_task()
824 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_task()
829 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_task()
843 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_thread()
845 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_thread()
880 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_break()
884 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_break()
889 error_packet(remcom_out_buffer, -EINVAL); in gdb_cmd_break()
905 strcpy(remcom_out_buffer, "OK"); in gdb_cmd_break()
907 error_packet(remcom_out_buffer, error); in gdb_cmd_break()
949 memset(remcom_out_buffer, 0, sizeof(remcom_out_buffer)); in gdb_serial_stub()
959 ptr = remcom_out_buffer; in gdb_serial_stub()
966 put_packet(remcom_out_buffer); in gdb_serial_stub()
973 memset(remcom_out_buffer, 0, sizeof(remcom_out_buffer)); in gdb_serial_stub()
1046 error_packet(remcom_out_buffer, -EINVAL); in gdb_serial_stub()
1057 remcom_out_buffer, in gdb_serial_stub()
1072 put_packet(remcom_out_buffer); in gdb_serial_stub()
1091 remcom_out_buffer, in gdbstub_state()
1105 put_packet(remcom_out_buffer); in gdbstub_state()