Skip to contentSkip to conversation

Debug Register MPC855

DISCUSSION Marcelo Tosatti 1 participant 1 message Aug 28, 2005

lore
Share & tools
lore
#0 lore raw

Hi Jan,

Quoted 5 lines

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).