Re: [U-Boot] [RFC PATCH v1 2/2] arm:kgdb add KGDB support for arm platform

2014-11-04 Thread Peng Fan
Hi Simon, 在 11/4/2014 2:58 PM, Simon Glass 写道: HI Peng, On 31 October 2014 23:12, Peng Fan peng@freescale.com wrote: The register save/restore: Use get_bad_stack and bad_save_user_regs to save regs. Introduce und_restore_regs to restore the previous regs before trigger a breakpoint.

Re: [U-Boot] [RFC PATCH v1 2/2] arm:kgdb add KGDB support for arm platform

2014-11-03 Thread Simon Glass
HI Peng, On 31 October 2014 23:12, Peng Fan peng@freescale.com wrote: The register save/restore: Use get_bad_stack and bad_save_user_regs to save regs. Introduce und_restore_regs to restore the previous regs before trigger a breakpoint. Signed-off-by: Peng Fan peng@freescale.com