/linux-4.1.27/kernel/debug/ |
H A D | gdbstub.c | 45 static char remcom_out_buffer[BUFMAX]; variable 489 remcom_out_buffer[0] = 'S'; gdb_cmd_status() 490 hex_byte_pack(&remcom_out_buffer[1], ks->signo); gdb_cmd_status() 540 kgdb_mem2hex((char *)gdb_regs, remcom_out_buffer, NUMREGBYTES); gdb_cmd_getregs() 549 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_setregs() 552 strcpy(remcom_out_buffer, "OK"); gdb_cmd_setregs() 566 err = kgdb_mem2hex((char *)addr, remcom_out_buffer, length); gdb_cmd_memread() 568 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_memread() 570 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_memread() 580 error_packet(remcom_out_buffer, err); gdb_cmd_memwrite() 582 strcpy(remcom_out_buffer, "OK"); gdb_cmd_memwrite() 605 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_reg_get() 609 gdb_hex_reg_helper(regnum, remcom_out_buffer); gdb_cmd_reg_get() 623 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_reg_set() 635 strcpy(remcom_out_buffer, "OK"); gdb_cmd_reg_set() 645 error_packet(remcom_out_buffer, err); gdb_cmd_binwrite() 647 strcpy(remcom_out_buffer, "OK"); gdb_cmd_binwrite() 659 error_packet(remcom_out_buffer, error); gdb_cmd_detachkill() 661 strcpy(remcom_out_buffer, "OK"); gdb_cmd_detachkill() 664 put_packet(remcom_out_buffer); gdb_cmd_detachkill() 681 strcpy(remcom_out_buffer, "OK"); gdb_cmd_reboot() 682 put_packet(remcom_out_buffer); gdb_cmd_reboot() 714 remcom_out_buffer[0] = 'm'; gdb_cmd_query() 715 ptr = remcom_out_buffer + 1; gdb_cmd_query() 744 strcpy(remcom_out_buffer, "QC"); 747 pack_threadid(remcom_out_buffer + 2, thref); 757 error_packet(remcom_out_buffer, -EINVAL); 763 remcom_out_buffer, 16); 769 kgdb_mem2hex(tmpstr, remcom_out_buffer, strlen(tmpstr)); 778 strcpy(remcom_out_buffer, "E01"); 782 remcom_out_buffer, len); 784 remcom_out_buffer[len++] = 0; 787 kdb_parse(remcom_out_buffer); 790 strcpy(remcom_out_buffer, "OK"); 809 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_task() 814 strcpy(remcom_out_buffer, "OK"); gdb_cmd_task() 824 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_task() 829 strcpy(remcom_out_buffer, "OK"); gdb_cmd_task() 843 strcpy(remcom_out_buffer, "OK"); gdb_cmd_thread() 845 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_thread() 880 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_break() 884 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_break() 889 error_packet(remcom_out_buffer, -EINVAL); gdb_cmd_break() 905 strcpy(remcom_out_buffer, "OK"); gdb_cmd_break() 907 error_packet(remcom_out_buffer, error); gdb_cmd_break() 949 memset(remcom_out_buffer, 0, sizeof(remcom_out_buffer)); gdb_serial_stub() 959 ptr = remcom_out_buffer; gdb_serial_stub() 966 put_packet(remcom_out_buffer); gdb_serial_stub() 973 memset(remcom_out_buffer, 0, sizeof(remcom_out_buffer)); gdb_serial_stub() 1046 error_packet(remcom_out_buffer, -EINVAL); gdb_serial_stub() 1057 remcom_out_buffer, gdb_serial_stub() 1072 put_packet(remcom_out_buffer); gdb_serial_stub() 1091 remcom_out_buffer, gdbstub_state() 1105 put_packet(remcom_out_buffer); gdbstub_state()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | kgdb.c | 114 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 113 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | kgdb.c | 173 * @remcom_out_buffer: The buffer of %BUFMAX bytes to write a packet into. 186 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 185 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *linux_regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/nios2/kernel/ |
H A D | kgdb.c | 123 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 122 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | kgdb.c | 360 char *remcom_out_buffer, kgdb_arch_handle_exception() 372 strcpy(remcom_out_buffer, "E00"); kgdb_arch_handle_exception() 358 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/include/linux/ |
H A D | kgdb.h | 163 * @remcom_out_buffer: The buffer of %BUFMAX bytes to write a packet into. 176 char *remcom_out_buffer,
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | kgdb.c | 382 * @remcom_out_buffer: The buffer of %BUFMAX bytes to write a packet into. 393 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 392 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | kgdb.c | 157 char *remcom_out_buffer, kgdb_arch_handle_exception() 155 kgdb_arch_handle_exception(int exception_vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *linux_regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | kgdb.c | 118 char *remcom_out_buffer, kgdb_arch_handle_exception() 116 kgdb_arch_handle_exception(int exception_vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *linux_regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | kgdb.c | 360 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 359 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | kgdb.c | 417 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 416 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs) kgdb_arch_handle_exception() argument
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | kgdb.c | 408 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 407 kgdb_arch_handle_exception(int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *linux_regs) kgdb_arch_handle_exception() argument
|