aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1997-08-26 00:11:16 +0000
committerGeoffrey Noer <noer@cygnus>1997-08-26 00:11:16 +0000
commit1211388f13a7931631a97cbce56ac442a63069ba (patch)
treeb456569cc976aedd494b8301c122201de754b20e
parent70e8e5854f721af48032dd945276b707b3429d15 (diff)
downloadgdb-1211388f13a7931631a97cbce56ac442a63069ba.zip
gdb-1211388f13a7931631a97cbce56ac442a63069ba.tar.gz
gdb-1211388f13a7931631a97cbce56ac442a63069ba.tar.bz2
Mon Aug 25 17:08:01 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: revert Sun change -- enable log file handling
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ocd.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ab0351..bf7ade5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug 25 17:08:01 1997 Geoffrey Noer <noer@cygnus.com>
+
+ * ocd.c: revert Sun change -- enable log file handling
+
Mon Aug 25 12:21:46 1997 Andrew Cagney <cagney@b1.cygnus.com>
* remote-sim.c (gdbsim_open): Pass exec_bfd to sim_open call.
diff --git a/gdb/ocd.c b/gdb/ocd.c
index e5e3792..268d7bb 100644
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -231,7 +231,6 @@ ocd_start_remote (dummy)
select_frame (get_current_frame (), 0);
print_stack_frame (selected_frame, -1, 1);
-#if 0
buf[0] = OCD_LOG_FILE;
buf[1] = 3; /* close existing WIGGLERS.LOG */
ocd_put_packet (buf, 2);
@@ -241,7 +240,6 @@ ocd_start_remote (dummy)
buf[1] = 2; /* append to existing WIGGLERS.LOG */
ocd_put_packet (buf, 2);
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
-#endif
return 1;
}
@@ -280,12 +278,10 @@ device the OCD device is attached to (e.g. /dev/ttya).");
if (!ocd_desc)
perror_with_name (name);
-#if 0
buf[0] = OCD_LOG_FILE;
buf[1] = 1; /* open new or overwrite existing WIGGLERS.LOG */
ocd_put_packet (buf, 2);
p = ocd_get_packet (buf[0], &pktlen, remote_timeout);
-#endif
buf[0] = OCD_SET_CONNECTION;
buf[1] = 0x01; /* atoi (name[11]); */
@@ -1213,7 +1209,6 @@ ocd_do_command (cmd, statusp, lenp)
*statusp = status;
-#if 0
logbuf[0] = OCD_LOG_FILE;
logbuf[1] = 3; /* close existing WIGGLERS.LOG */
ocd_put_packet (logbuf, 2);
@@ -1223,7 +1218,6 @@ ocd_do_command (cmd, statusp, lenp)
logbuf[1] = 2; /* append to existing WIGGLERS.LOG */
ocd_put_packet (logbuf, 2);
ocd_get_packet (logbuf[0], &logpktlen, remote_timeout);
-#endif
return p + 3;
}