gdb_regs 73 arch/x86/kernel/kgdb.c u32 *gdb_regs32 = (u32 *)gdb_regs; gdb_regs 75 arch/x86/kernel/kgdb.c gdb_regs[GDB_AX] = regs->ax; gdb_regs 76 arch/x86/kernel/kgdb.c gdb_regs[GDB_BX] = regs->bx; gdb_regs 77 arch/x86/kernel/kgdb.c gdb_regs[GDB_CX] = regs->cx; gdb_regs 78 arch/x86/kernel/kgdb.c gdb_regs[GDB_DX] = regs->dx; gdb_regs 79 arch/x86/kernel/kgdb.c gdb_regs[GDB_SI] = regs->si; gdb_regs 80 arch/x86/kernel/kgdb.c gdb_regs[GDB_DI] = regs->di; gdb_regs 81 arch/x86/kernel/kgdb.c gdb_regs[GDB_BP] = regs->bp; gdb_regs 82 arch/x86/kernel/kgdb.c gdb_regs[GDB_PC] = regs->ip; gdb_regs 84 arch/x86/kernel/kgdb.c gdb_regs[GDB_PS] = regs->flags; gdb_regs 85 arch/x86/kernel/kgdb.c gdb_regs[GDB_DS] = regs->ds; gdb_regs 86 arch/x86/kernel/kgdb.c gdb_regs[GDB_ES] = regs->es; gdb_regs 87 arch/x86/kernel/kgdb.c gdb_regs[GDB_CS] = regs->cs; gdb_regs 88 arch/x86/kernel/kgdb.c gdb_regs[GDB_SS] = __KERNEL_DS; gdb_regs 89 arch/x86/kernel/kgdb.c gdb_regs[GDB_FS] = 0xFFFF; gdb_regs 90 arch/x86/kernel/kgdb.c gdb_regs[GDB_GS] = 0xFFFF; gdb_regs 92 arch/x86/kernel/kgdb.c gdb_regs[GDB_R8] = regs->r8; gdb_regs 93 arch/x86/kernel/kgdb.c gdb_regs[GDB_R9] = regs->r9; gdb_regs 94 arch/x86/kernel/kgdb.c gdb_regs[GDB_R10] = regs->r10; gdb_regs 95 arch/x86/kernel/kgdb.c gdb_regs[GDB_R11] = regs->r11; gdb_regs 96 arch/x86/kernel/kgdb.c gdb_regs[GDB_R12] = regs->r12; gdb_regs 97 arch/x86/kernel/kgdb.c gdb_regs[GDB_R13] = regs->r13; gdb_regs 98 arch/x86/kernel/kgdb.c gdb_regs[GDB_R14] = regs->r14; gdb_regs 99 arch/x86/kernel/kgdb.c gdb_regs[GDB_R15] = regs->r15; gdb_regs 104 arch/x86/kernel/kgdb.c gdb_regs[GDB_SP] = regs->sp; gdb_regs 122 arch/x86/kernel/kgdb.c u32 *gdb_regs32 = (u32 *)gdb_regs; gdb_regs 124 arch/x86/kernel/kgdb.c gdb_regs[GDB_AX] = 0; gdb_regs 125 arch/x86/kernel/kgdb.c gdb_regs[GDB_BX] = 0; gdb_regs 126 arch/x86/kernel/kgdb.c gdb_regs[GDB_CX] = 0; gdb_regs 127 arch/x86/kernel/kgdb.c gdb_regs[GDB_DX] = 0; gdb_regs 128 arch/x86/kernel/kgdb.c gdb_regs[GDB_SI] = 0; gdb_regs 129 arch/x86/kernel/kgdb.c gdb_regs[GDB_DI] = 0; gdb_regs 130 arch/x86/kernel/kgdb.c gdb_regs[GDB_BP] = *(unsigned long *)p->thread.sp; gdb_regs 132 arch/x86/kernel/kgdb.c gdb_regs[GDB_DS] = __KERNEL_DS; gdb_regs 133 arch/x86/kernel/kgdb.c gdb_regs[GDB_ES] = __KERNEL_DS; gdb_regs 134 arch/x86/kernel/kgdb.c gdb_regs[GDB_PS] = 0; gdb_regs 135 arch/x86/kernel/kgdb.c gdb_regs[GDB_CS] = __KERNEL_CS; gdb_regs 136 arch/x86/kernel/kgdb.c gdb_regs[GDB_PC] = p->thread.ip; gdb_regs 137 arch/x86/kernel/kgdb.c gdb_regs[GDB_SS] = __KERNEL_DS; gdb_regs 138 arch/x86/kernel/kgdb.c gdb_regs[GDB_FS] = 0xFFFF; gdb_regs 139 arch/x86/kernel/kgdb.c gdb_regs[GDB_GS] = 0xFFFF; gdb_regs 144 arch/x86/kernel/kgdb.c gdb_regs[GDB_PC] = p->thread.ip; gdb_regs 145 arch/x86/kernel/kgdb.c gdb_regs[GDB_R8] = 0; gdb_regs 146 arch/x86/kernel/kgdb.c gdb_regs[GDB_R9] = 0; gdb_regs 147 arch/x86/kernel/kgdb.c gdb_regs[GDB_R10] = 0; gdb_regs 148 arch/x86/kernel/kgdb.c gdb_regs[GDB_R11] = 0; gdb_regs 149 arch/x86/kernel/kgdb.c gdb_regs[GDB_R12] = 0; gdb_regs 150 arch/x86/kernel/kgdb.c gdb_regs[GDB_R13] = 0; gdb_regs 151 arch/x86/kernel/kgdb.c gdb_regs[GDB_R14] = 0; gdb_regs 152 arch/x86/kernel/kgdb.c gdb_regs[GDB_R15] = 0; gdb_regs 154 arch/x86/kernel/kgdb.c gdb_regs[GDB_SP] = p->thread.sp; gdb_regs 168 arch/x86/kernel/kgdb.c u32 *gdb_regs32 = (u32 *)gdb_regs; gdb_regs 170 arch/x86/kernel/kgdb.c regs->ax = gdb_regs[GDB_AX]; gdb_regs 171 arch/x86/kernel/kgdb.c regs->bx = gdb_regs[GDB_BX]; gdb_regs 172 arch/x86/kernel/kgdb.c regs->cx = gdb_regs[GDB_CX]; gdb_regs 173 arch/x86/kernel/kgdb.c regs->dx = gdb_regs[GDB_DX]; gdb_regs 174 arch/x86/kernel/kgdb.c regs->si = gdb_regs[GDB_SI]; gdb_regs 175 arch/x86/kernel/kgdb.c regs->di = gdb_regs[GDB_DI]; gdb_regs 176 arch/x86/kernel/kgdb.c regs->bp = gdb_regs[GDB_BP]; gdb_regs 177 arch/x86/kernel/kgdb.c regs->ip = gdb_regs[GDB_PC]; gdb_regs 179 arch/x86/kernel/kgdb.c regs->flags = gdb_regs[GDB_PS]; gdb_regs 180 arch/x86/kernel/kgdb.c regs->ds = gdb_regs[GDB_DS]; gdb_regs 181 arch/x86/kernel/kgdb.c regs->es = gdb_regs[GDB_ES]; gdb_regs 182 arch/x86/kernel/kgdb.c regs->cs = gdb_regs[GDB_CS]; gdb_regs 184 arch/x86/kernel/kgdb.c regs->r8 = gdb_regs[GDB_R8]; gdb_regs 185 arch/x86/kernel/kgdb.c regs->r9 = gdb_regs[GDB_R9]; gdb_regs 186 arch/x86/kernel/kgdb.c regs->r10 = gdb_regs[GDB_R10]; gdb_regs 187 arch/x86/kernel/kgdb.c regs->r11 = gdb_regs[GDB_R11]; gdb_regs 188 arch/x86/kernel/kgdb.c regs->r12 = gdb_regs[GDB_R12]; gdb_regs 189 arch/x86/kernel/kgdb.c regs->r13 = gdb_regs[GDB_R13]; gdb_regs 190 arch/x86/kernel/kgdb.c regs->r14 = gdb_regs[GDB_R14]; gdb_regs 191 arch/x86/kernel/kgdb.c regs->r15 = gdb_regs[GDB_R15]; gdb_regs 138 kernel/kgdb.c static unsigned long gdb_regs[(NUMREGBYTES + gdb_regs 877 kernel/kgdb.c pt_regs_to_gdb_regs(gdb_regs, local_debuggerinfo); gdb_regs 886 kernel/kgdb.c sleeping_thread_to_gdb_regs(gdb_regs, thread); gdb_regs 888 kernel/kgdb.c kgdb_mem2hex((char *)gdb_regs, remcom_out_buffer, NUMREGBYTES); gdb_regs 894 kernel/kgdb.c kgdb_hex2mem(&remcom_in_buffer[1], (char *)gdb_regs, NUMREGBYTES); gdb_regs 899 kernel/kgdb.c gdb_regs_to_pt_regs(gdb_regs, ks->linux_regs);