Lines Matching refs:error
391 static void error_packet(char *pkt, int error) in error_packet() argument
393 error = -error; in error_packet()
395 pkt[1] = hex_asc[(error / 10)]; in error_packet()
396 pkt[2] = hex_asc[(error % 10)]; in error_packet()
654 int error; in gdb_cmd_detachkill() local
658 error = dbg_remove_all_break(); in gdb_cmd_detachkill()
659 if (error < 0) { in gdb_cmd_detachkill()
660 error_packet(remcom_out_buffer, error); in gdb_cmd_detachkill()
860 int error = 0; in gdb_cmd_break() local
895 error = dbg_set_sw_break(addr); in gdb_cmd_break()
897 error = dbg_remove_sw_break(addr); in gdb_cmd_break()
899 error = arch_kgdb_ops.set_hw_breakpoint(addr, in gdb_cmd_break()
902 error = arch_kgdb_ops.remove_hw_breakpoint(addr, in gdb_cmd_break()
905 if (error == 0) in gdb_cmd_break()
908 error_packet(remcom_out_buffer, error); in gdb_cmd_break()
946 int error = 0; in gdb_serial_stub() local
971 error = 0; in gdb_serial_stub()
1055 error = kgdb_arch_handle_exception(ks->ex_vector, in gdb_serial_stub()
1065 if (error >= 0 || remcom_in_buffer[0] == 'D' || in gdb_serial_stub()
1067 error = 0; in gdb_serial_stub()
1079 error = 1; in gdb_serial_stub()
1080 return error; in gdb_serial_stub()
1085 int error; in gdbstub_state() local
1089 error = kgdb_arch_handle_exception(ks->ex_vector, in gdbstub_state()
1095 return error; in gdbstub_state()