/linux-4.1.27/kernel/debug/ |
H A D | gdbstub.c | 44 static char remcom_in_buffer[BUFMAX]; variable 66 return remcom_in_buffer[gdbstub_prev_in_buf_pos++]; gdbstub_read_wait() 369 char *ptr = &remcom_in_buffer[1]; write_mem_msg() 546 kgdb_hex2mem(&remcom_in_buffer[1], (char *)gdb_regs, NUMREGBYTES); gdb_cmd_setregs() 559 char *ptr = &remcom_in_buffer[1]; gdb_cmd_memread() 601 char *ptr = &remcom_in_buffer[1]; gdb_cmd_reg_get() 616 char *ptr = &remcom_in_buffer[1]; gdb_cmd_reg_set() 656 if (remcom_in_buffer[0] == 'D') { gdb_cmd_detachkill() 679 if (strcmp(remcom_in_buffer, "R0") == 0) { gdb_cmd_reboot() 707 switch (remcom_in_buffer[1]) { gdb_cmd_query() 710 if (memcmp(remcom_in_buffer + 2, "ThreadInfo", 10)) gdb_cmd_query() 716 if (remcom_in_buffer[1] == 'f') { gdb_cmd_query() 750 if (memcmp(remcom_in_buffer + 1, "ThreadExtraInfo,", 16)) 754 ptr = remcom_in_buffer + 17; 774 if (strncmp(remcom_in_buffer, "qRcmd,", 6) == 0) { 775 int len = strlen(remcom_in_buffer + 6); 781 kgdb_hex2mem(remcom_in_buffer + 6, 803 switch (remcom_in_buffer[1]) { gdb_cmd_task() 805 ptr = &remcom_in_buffer[2]; gdb_cmd_task() 817 ptr = &remcom_in_buffer[2]; gdb_cmd_task() 837 char *ptr = &remcom_in_buffer[1]; gdb_cmd_thread() 855 char *bpt_type = &remcom_in_buffer[1]; gdb_cmd_break() 856 char *ptr = &remcom_in_buffer[2]; gdb_cmd_break() 893 if (remcom_in_buffer[0] == 'Z' && *bpt_type == '0') gdb_cmd_break() 895 else if (remcom_in_buffer[0] == 'z' && *bpt_type == '0') gdb_cmd_break() 897 else if (remcom_in_buffer[0] == 'Z') gdb_cmd_break() 900 else if (remcom_in_buffer[0] == 'z') gdb_cmd_break() 916 if (remcom_in_buffer[1] == '0' && remcom_in_buffer[2] == '9') { gdb_cmd_exception_pass() 919 remcom_in_buffer[0] = 'c'; gdb_cmd_exception_pass() 921 } else if (remcom_in_buffer[1] == '1' && remcom_in_buffer[2] == '5') { gdb_cmd_exception_pass() 924 remcom_in_buffer[0] = 'D'; gdb_cmd_exception_pass() 933 remcom_in_buffer[0] = 'c'; gdb_cmd_exception_pass() 975 get_packet(remcom_in_buffer); gdb_serial_stub() 977 switch (remcom_in_buffer[0]) { gdb_serial_stub() 1030 if (remcom_in_buffer[1] == '\0') { gdb_serial_stub() 1056 remcom_in_buffer, gdb_serial_stub() 1063 if (error >= 0 || remcom_in_buffer[0] == 'D' || gdb_serial_stub() 1064 remcom_in_buffer[0] == 'k') { gdb_serial_stub() 1090 remcom_in_buffer, gdbstub_state() 1096 strcpy(remcom_in_buffer, cmd); gdbstub_state() 1099 strcpy(remcom_in_buffer, cmd); gdbstub_state() 1100 gdbstub_use_prev_in_buf = strlen(remcom_in_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() 120 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 123 ptr = &remcom_in_buffer[1]; 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/arm64/kernel/ |
H A D | kgdb.c | 141 char *remcom_in_buffer) kgdb_arch_update_addr() 146 ptr = &remcom_in_buffer[1]; kgdb_arch_update_addr() 156 int err_code, char *remcom_in_buffer, kgdb_arch_handle_exception() 162 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 178 kgdb_arch_update_addr(linux_regs, remcom_in_buffer); kgdb_arch_handle_exception() 199 kgdb_arch_update_addr(linux_regs, remcom_in_buffer); kgdb_arch_handle_exception() 140 kgdb_arch_update_addr(struct pt_regs *regs, char *remcom_in_buffer) kgdb_arch_update_addr() argument 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/nios2/kernel/ |
H A D | kgdb.c | 123 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 129 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 133 ptr = &remcom_in_buffer[1]; 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/mn10300/kernel/ |
H A D | kgdb.c | 417 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 423 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 427 ptr = &remcom_in_buffer[1]; kgdb_arch_handle_exception() 434 if (remcom_in_buffer[0] == 's') { 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/blackfin/kernel/ |
H A D | kgdb.c | 359 int err_code, char *remcom_in_buffer, kgdb_arch_handle_exception() 368 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 379 ptr = &remcom_in_buffer[1]; kgdb_arch_handle_exception() 389 if (remcom_in_buffer[0] == 's') { 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/arch/hexagon/kernel/ |
H A D | kgdb.c | 172 * @remcom_in_buffer: The buffer of the packet we have read. 186 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 189 switch (remcom_in_buffer[0]) { 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/arm/kernel/ |
H A D | kgdb.c | 117 int err_code, char *remcom_in_buffer, kgdb_arch_handle_exception() 124 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 134 ptr = &remcom_in_buffer[1]; 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/tile/kernel/ |
H A D | kgdb.c | 381 * @remcom_in_buffer: The buffer of the packet we have read. 393 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 402 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 413 ptr = &remcom_in_buffer[1]; kgdb_arch_handle_exception() 419 if (remcom_in_buffer[0] == 's') { 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/mips/kernel/ |
H A D | kgdb.c | 360 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 366 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 369 ptr = &remcom_in_buffer[1]; 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/powerpc/kernel/ |
H A D | kgdb.c | 408 char *remcom_in_buffer, char *remcom_out_buffer, kgdb_arch_handle_exception() 411 char *ptr = &remcom_in_buffer[1]; kgdb_arch_handle_exception() 414 switch (remcom_in_buffer[0]) { kgdb_arch_handle_exception() 427 if (remcom_in_buffer[0] == 's') { 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
|
/linux-4.1.27/include/linux/ |
H A D | kgdb.h | 162 * @remcom_in_buffer: The buffer of the packet we have read. 175 char *remcom_in_buffer,
|