Debug Register MPC855

Marcelo Tosatti marcelo.tosatti at cyclades.com
Sun Aug 28 12:18:44 EST 2005


Hi Jan,

> I have made som changes on kernel 2.4.18 to get access to the Debug
> Registers on a MPC855.
> Please apply and let me know whether the kernel runs stable or not.
> I need this support for the gdb to set Hardware Breakpoints on a MPC855
> target.

Did you wrote gdb support for it? Current gdb 6.3 uses the trap approach

  bdm_ppc_ops.to_insert_breakpoint = ocd_insert_breakpoint;
  bdm_ppc_ops.to_remove_breakpoint = ocd_remove_breakpoint;

Your patch looks good overall (needs some aesthetic cleanups). 





More information about the Linuxppc-embedded mailing list