Sun Aug 24 21:16:59 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: comment out sections that create and flush wigglers.log log file when using the wiggler.
This commit is contained in:
parent
f6c44ed302
commit
e8bd2ae702
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Aug 24 21:16:59 1997 Geoffrey Noer <noer@cygnus.com>
|
||||||
|
|
||||||
|
* ocd.c: comment out sections that create and flush wigglers.log
|
||||||
|
log file when using the wiggler.
|
||||||
|
|
||||||
Thu Aug 21 16:18:08 1997 Geoffrey Noer <noer@cygnus.com>
|
Thu Aug 21 16:18:08 1997 Geoffrey Noer <noer@cygnus.com>
|
||||||
|
|
||||||
* config/powerpc/ppc-eabi.mt:
|
* config/powerpc/ppc-eabi.mt:
|
||||||
|
|
|
@ -231,6 +231,7 @@ ocd_start_remote (dummy)
|
||||||
select_frame (get_current_frame (), 0);
|
select_frame (get_current_frame (), 0);
|
||||||
print_stack_frame (selected_frame, -1, 1);
|
print_stack_frame (selected_frame, -1, 1);
|
||||||
|
|
||||||
|
#if 0
|
||||||
buf[0] = OCD_LOG_FILE;
|
buf[0] = OCD_LOG_FILE;
|
||||||
buf[1] = 3; /* close existing WIGGLERS.LOG */
|
buf[1] = 3; /* close existing WIGGLERS.LOG */
|
||||||
ocd_put_packet (buf, 2);
|
ocd_put_packet (buf, 2);
|
||||||
|
@ -240,6 +241,7 @@ ocd_start_remote (dummy)
|
||||||
buf[1] = 2; /* append to existing WIGGLERS.LOG */
|
buf[1] = 2; /* append to existing WIGGLERS.LOG */
|
||||||
ocd_put_packet (buf, 2);
|
ocd_put_packet (buf, 2);
|
||||||
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
|
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -278,10 +280,12 @@ device the OCD device is attached to (e.g. /dev/ttya).");
|
||||||
if (!ocd_desc)
|
if (!ocd_desc)
|
||||||
perror_with_name (name);
|
perror_with_name (name);
|
||||||
|
|
||||||
|
#if 0
|
||||||
buf[0] = OCD_LOG_FILE;
|
buf[0] = OCD_LOG_FILE;
|
||||||
buf[1] = 1; /* open new or overwrite existing WIGGLERS.LOG */
|
buf[1] = 1; /* open new or overwrite existing WIGGLERS.LOG */
|
||||||
ocd_put_packet (buf, 2);
|
ocd_put_packet (buf, 2);
|
||||||
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
|
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
|
||||||
|
#endif
|
||||||
|
|
||||||
buf[0] = OCD_SET_CONNECTION;
|
buf[0] = OCD_SET_CONNECTION;
|
||||||
buf[1] = 0x01; /* atoi (name[11]); */
|
buf[1] = 0x01; /* atoi (name[11]); */
|
||||||
|
@ -1209,6 +1213,7 @@ ocd_do_command (cmd, statusp, lenp)
|
||||||
|
|
||||||
*statusp = status;
|
*statusp = status;
|
||||||
|
|
||||||
|
#if 0
|
||||||
logbuf[0] = OCD_LOG_FILE;
|
logbuf[0] = OCD_LOG_FILE;
|
||||||
logbuf[1] = 3; /* close existing WIGGLERS.LOG */
|
logbuf[1] = 3; /* close existing WIGGLERS.LOG */
|
||||||
ocd_put_packet (logbuf, 2);
|
ocd_put_packet (logbuf, 2);
|
||||||
|
@ -1218,6 +1223,7 @@ ocd_do_command (cmd, statusp, lenp)
|
||||||
logbuf[1] = 2; /* append to existing WIGGLERS.LOG */
|
logbuf[1] = 2; /* append to existing WIGGLERS.LOG */
|
||||||
ocd_put_packet (logbuf, 2);
|
ocd_put_packet (logbuf, 2);
|
||||||
ocd_get_packet (logbuf[0], &logpktlen, remote_timeout);
|
ocd_get_packet (logbuf[0], &logpktlen, remote_timeout);
|
||||||
|
#endif
|
||||||
|
|
||||||
return p + 3;
|
return p + 3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue