Lines Matching refs:saved_state
141 struct savearea *saved_state;
143 saved_state = kdp.saved_state;
147 state->srr0 = (unsigned int)saved_state->save_srr0;
148 state->srr1 = (unsigned int)saved_state->save_srr1;
149 state->r0 = (unsigned int)saved_state->save_r0;
150 state->r1 = (unsigned int)saved_state->save_r1;
151 state->r2 = (unsigned int)saved_state->save_r2;
152 state->r3 = (unsigned int)saved_state->save_r3;
153 state->r4 = (unsigned int)saved_state->save_r4;
154 state->r5 = (unsigned int)saved_state->save_r5;
155 state->r6 = (unsigned int)saved_state->save_r6;
156 state->r7 = (unsigned int)saved_state->save_r7;
157 state->r8 = (unsigned int)saved_state->save_r8;
158 state->r9 = (unsigned int)saved_state->save_r9;
159 state->r10 = (unsigned int)saved_state->save_r10;
160 state->r11 = (unsigned int)saved_state->save_r11;
161 state->r12 = (unsigned int)saved_state->save_r12;
162 state->r13 = (unsigned int)saved_state->save_r13;
163 state->r14 = (unsigned int)saved_state->save_r14;
164 state->r15 = (unsigned int)saved_state->save_r15;
165 state->r16 = (unsigned int)saved_state->save_r16;
166 state->r17 = (unsigned int)saved_state->save_r17;
167 state->r18 = (unsigned int)saved_state->save_r18;
168 state->r19 = (unsigned int)saved_state->save_r19;
169 state->r20 = (unsigned int)saved_state->save_r20;
170 state->r21 = (unsigned int)saved_state->save_r21;
171 state->r22 = (unsigned int)saved_state->save_r22;
172 state->r23 = (unsigned int)saved_state->save_r23;
173 state->r24 = (unsigned int)saved_state->save_r24;
174 state->r25 = (unsigned int)saved_state->save_r25;
175 state->r26 = (unsigned int)saved_state->save_r26;
176 state->r27 = (unsigned int)saved_state->save_r27;
177 state->r28 = (unsigned int)saved_state->save_r28;
178 state->r29 = (unsigned int)saved_state->save_r29;
179 state->r30 = (unsigned int)saved_state->save_r30;
180 state->r31 = (unsigned int)saved_state->save_r31;
181 state->cr = (unsigned int)saved_state->save_cr;
182 state->xer = (unsigned int)saved_state->save_xer;
183 state->lr = (unsigned int)saved_state->save_lr;
184 state->ctr = (unsigned int)saved_state->save_ctr;
192 struct savearea *saved_state;
194 saved_state = kdp.saved_state;
198 state->srr0 = saved_state->save_srr0;
199 state->srr1 = saved_state->save_srr1;
200 state->r0 = saved_state->save_r0;
201 state->r1 = saved_state->save_r1;
202 state->r2 = saved_state->save_r2;
203 state->r3 = saved_state->save_r3;
204 state->r4 = saved_state->save_r4;
205 state->r5 = saved_state->save_r5;
206 state->r6 = saved_state->save_r6;
207 state->r7 = saved_state->save_r7;
208 state->r8 = saved_state->save_r8;
209 state->r9 = saved_state->save_r9;
210 state->r10 = saved_state->save_r10;
211 state->r11 = saved_state->save_r11;
212 state->r12 = saved_state->save_r12;
213 state->r13 = saved_state->save_r13;
214 state->r14 = saved_state->save_r14;
215 state->r15 = saved_state->save_r15;
216 state->r16 = saved_state->save_r16;
217 state->r17 = saved_state->save_r17;
218 state->r18 = saved_state->save_r18;
219 state->r19 = saved_state->save_r19;
220 state->r20 = saved_state->save_r20;
221 state->r21 = saved_state->save_r21;
222 state->r22 = saved_state->save_r22;
223 state->r23 = saved_state->save_r23;
224 state->r24 = saved_state->save_r24;
225 state->r25 = saved_state->save_r25;
226 state->r26 = saved_state->save_r26;
227 state->r27 = saved_state->save_r27;
228 state->r28 = saved_state->save_r28;
229 state->r29 = saved_state->save_r29;
230 state->r30 = saved_state->save_r30;
231 state->r31 = saved_state->save_r31;
232 state->cr = saved_state->save_cr;
233 state->xer = saved_state->save_xer;
234 state->lr = saved_state->save_lr;
235 state->ctr = saved_state->save_ctr;
277 struct savearea *saved_state;
279 saved_state = kdp.saved_state;
281 saved_state->save_srr0 = state->srr0;
282 saved_state->save_srr1 = state->srr1;
283 saved_state->save_r0 = state->r0;
284 saved_state->save_r1 = state->r1;
285 saved_state->save_r2 = state->r2;
286 saved_state->save_r3 = state->r3;
287 saved_state->save_r4 = state->r4;
288 saved_state->save_r5 = state->r5;
289 saved_state->save_r6 = state->r6;
290 saved_state->save_r7 = state->r7;
291 saved_state->save_r8 = state->r8;
292 saved_state->save_r9 = state->r9;
293 saved_state->save_r10 = state->r10;
294 saved_state->save_r11 = state->r11;
295 saved_state->save_r12 = state->r12;
296 saved_state->save_r13 = state->r13;
297 saved_state->save_r14 = state->r14;
298 saved_state->save_r15 = state->r15;
299 saved_state->save_r16 = state->r16;
300 saved_state->save_r17 = state->r17;
301 saved_state->save_r18 = state->r18;
302 saved_state->save_r19 = state->r19;
303 saved_state->save_r20 = state->r20;
304 saved_state->save_r21 = state->r21;
305 saved_state->save_r22 = state->r22;
306 saved_state->save_r23 = state->r23;
307 saved_state->save_r24 = state->r24;
308 saved_state->save_r25 = state->r25;
309 saved_state->save_r26 = state->r26;
310 saved_state->save_r27 = state->r27;
311 saved_state->save_r28 = state->r28;
312 saved_state->save_r29 = state->r29;
313 saved_state->save_r30 = state->r30;
314 saved_state->save_r31 = state->r31;
315 saved_state->save_cr = state->cr;
316 saved_state->save_xer = state->xer;
317 saved_state->save_lr = state->lr;
318 saved_state->save_ctr = state->ctr;
326 struct savearea *saved_state;
328 saved_state = kdp.saved_state;
330 saved_state->save_srr0 = state->srr0;
331 saved_state->save_srr1 = state->srr1;
332 saved_state->save_r0 = state->r0;
333 saved_state->save_r1 = state->r1;
334 saved_state->save_r2 = state->r2;
335 saved_state->save_r3 = state->r3;
336 saved_state->save_r4 = state->r4;
337 saved_state->save_r5 = state->r5;
338 saved_state->save_r6 = state->r6;
339 saved_state->save_r7 = state->r7;
340 saved_state->save_r8 = state->r8;
341 saved_state->save_r9 = state->r9;
342 saved_state->save_r10 = state->r10;
343 saved_state->save_r11 = state->r11;
344 saved_state->save_r12 = state->r12;
345 saved_state->save_r13 = state->r13;
346 saved_state->save_r14 = state->r14;
347 saved_state->save_r15 = state->r15;
348 saved_state->save_r16 = state->r16;
349 saved_state->save_r17 = state->r17;
350 saved_state->save_r18 = state->r18;
351 saved_state->save_r19 = state->r19;
352 saved_state->save_r20 = state->r20;
353 saved_state->save_r21 = state->r21;
354 saved_state->save_r22 = state->r22;
355 saved_state->save_r23 = state->r23;
356 saved_state->save_r24 = state->r24;
357 saved_state->save_r25 = state->r25;
358 saved_state->save_r26 = state->r26;
359 saved_state->save_r27 = state->r27;
360 saved_state->save_r28 = state->r28;
361 saved_state->save_r29 = state->r29;
362 saved_state->save_r30 = state->r30;
363 saved_state->save_r31 = state->r31;
364 saved_state->save_cr = state->cr;
365 saved_state->save_xer = state->xer;
366 saved_state->save_lr = state->lr;
367 saved_state->save_ctr = state->ctr;
472 struct ppc_thread_state *saved_state;
474 saved_state = state;
476 printf("pc = 0x%x\n", saved_state->srr0);
477 printf("msr = 0x%x\n", saved_state->srr1);
478 printf("rp = 0x%x\n", saved_state->lr);
479 printf("sp = 0x%x\n", saved_state->r1);
561 struct savearea *saved_state
570 sp = saved_state->save_r1;
587 kdp_raise_exception(kdp_code(exception), 0, 0, saved_state);
592 if ((unsigned int)(saved_state->save_srr0) == 0x7c800008)
593 saved_state->save_srr0 += 4; /* BKPT_SIZE */
595 if(saved_state->save_srr1 & (MASK(MSR_SE) | MASK(MSR_BE))) { /* Are we just stepping or continuing */
638 struct savearea *saved_state)
644 kdp_print_registers(saved_state);
645 print_backtrace(saved_state);