diff options
author | Geoffrey Noer <noer@cygnus> | 1997-08-21 23:10:34 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1997-08-21 23:10:34 +0000 |
commit | 61a0d0227a46112b2b93b84506b937f1c6eca7ab (patch) | |
tree | bcad77955cf7d0388057527c91aca0eaa119b711 /gdb/ppc-bdm.c | |
parent | f483cb11c89c720da94839211f61338f3bd93fd6 (diff) | |
download | gdb-61a0d0227a46112b2b93b84506b937f1c6eca7ab.zip gdb-61a0d0227a46112b2b93b84506b937f1c6eca7ab.tar.gz gdb-61a0d0227a46112b2b93b84506b937f1c6eca7ab.tar.bz2 |
Thu Aug 21 14:56:04 1997 Geoffrey Noer <noer@cygnus.com>
* ppc-bdm.c (bdm_ppc_wait): stop printfing ecr, der
* ocd.c: initialize remote_timeout
(ocd_wait): while looping, call ocd_do_command with OCD_AYT
(ocd_get_packet): remove find_packet goto. If there isn't
an 0x55 at the start, something is quite wrong so error out
instead of advancing in the packet and trying again. If checksum
is invalid, print error message instead of trying again.
* ser-ocd.c (ocd_readchar): error if we attempt to read past
the end of the from_wiggler_buffer.
Diffstat (limited to 'gdb/ppc-bdm.c')
-rw-r--r-- | gdb/ppc-bdm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ppc-bdm.c b/gdb/ppc-bdm.c index 5ca012f..6731e9a 100644 --- a/gdb/ppc-bdm.c +++ b/gdb/ppc-bdm.c @@ -116,6 +116,7 @@ bdm_ppc_wait (pid, target_status) target_status->value.sig = TARGET_SIGNAL_TRAP; /* XXX for now */ +#if 0 { unsigned long ecr, der; @@ -123,6 +124,7 @@ bdm_ppc_wait (pid, target_status) der = ocd_read_bdm_register (149); /* Read the debug enables register */ fprintf_unfiltered (gdb_stdout, "ecr = 0x%x, der = 0x%x\n", ecr, der); } +#endif return inferior_pid; } |