diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2adee78bbb..f3f1eddd41 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -9,7 +9,7 @@ Sun Aug 10 16:49:09 1997 Geoffrey Noer BDM_BREAKPOINT if not defined in tm.h (ocd_error): add new error cases (ocd_start_remote): send the OCD_INIT command before - OCD_AYT and OCD_GET_VERSION calls + OCD_AYT and OCD_GET_VERSION calls, 80 was correct speed after all (ocd_write_bytes): no longer static (ocd_insert_breakpoint): no longer static (ocd_remove_breakpoint): new diff --git a/gdb/ocd.c b/gdb/ocd.c index ad575bc6bd..b0463b22d0 100644 --- a/gdb/ocd.c +++ b/gdb/ocd.c @@ -158,7 +158,7 @@ ocd_start_remote (dummy) SERIAL_SEND_BREAK (ocd_desc); /* Wake up the wiggler */ - speed = 0; /* 80; /* Divide clock by 4000 */ + speed = 80; /* Divide clock by 4000 */ buf[0] = OCD_INIT; buf[1] = speed >> 8; @@ -1283,7 +1283,7 @@ ocd_load (args, from_tty) not yet supported fully */ #ifndef BDM_BREAKPOINT -#define BDM_BREAKPOINT 0x4a, 0xfa /* BGND insn on CPU32*/ +#define BDM_BREAKPOINT {0x0,0x0,0x0,0x0} /* For ppc 8xx */ #endif /* BDM (at least on CPU32) uses a different breakpoint */