aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ser-e7kpc.c12
-rw-r--r--gdb/serial.c2
3 files changed, 6 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 742795b..43fd9e3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,8 @@
+Thu Feb 13 18:18:18 1997 Dawn Perchik <dawn@cygnus.com>
+
+ * remote-e7000.c, ser-e7kpc.c, serial.c: Remove // comments.
+
Wed Feb 12 15:58:00 1997 Dawn Perchik <dawn@cygnus.com>
* debugify.c, debugify.h: Make safe for non-ansi compilers.
diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c
index 7f6979f..4982b8c 100644
--- a/gdb/ser-e7kpc.c
+++ b/gdb/ser-e7kpc.c
@@ -18,7 +18,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-//#define DEBUGIFY
+/*#define DEBUGIFY*/
#include "debugify.h"
#define RMT_DBG(x) if (remote_debug) printf_unfiltered x
@@ -159,16 +159,13 @@ static void win_mem_get (unsigned char *buf, int offset, int len)
DBG(("win_mem_get(&buf=<x%x> offset=<x%x> len=<%d>)\n", buf, offset, len));
if (remote_debug!=last_remote_debug && pwin_remote_debug)
{
- //DBG(("calling pwin_remote_debug\n"));
pwin_remote_debug(remote_debug);
last_remote_debug=remote_debug;
}
if (pwin_mem_get)
{
- //DBG(("calling pwin_mem_get\n"));
pwin_mem_get (buf, offset, len);
}
- //DBG(("leaving win_mem_get; buf=<%s>\n", buf));
}
static void win_mem_put (unsigned char *buf, int offset, int len)
@@ -241,8 +238,6 @@ e7000pc_init ()
val = GET_WORD (ready);
- //DBG(("e7000pc_init: GET_WORD returns x%x\n", val));
-
if (val == (0xaaa0 | sigs[try].sw))
{
if (GET_BYTE (pon) & 0xf)
@@ -335,14 +330,12 @@ dosasync_read (fd, buf, len, timeout)
while (i < len)
{
int ch = e7000_get();
- //DBG(("%d: e7000_get gotta x%x\n", i, ch\n"));
/* While there's room in the buffer, and we've already
* read the stuff in, suck it over */
if (ch != -1)
{
buf[i++] = ch;
- //DBG(("e7000_get got x%x; before loop2: len=x%x, pbuf_index=x%x, pbuf_size=x%x\n", ch, len, pbuf_index, pbuf_size));
while (i < len && pbuf_index < pbuf_size )
{
ch = e7000_get();
@@ -365,7 +358,6 @@ dosasync_read (fd, buf, len, timeout)
return i;
}
}
- //DBG(("Yay! read x%x chars\n", len));
return len;
}
@@ -490,14 +482,12 @@ e7000pc_open (scb, name)
printf_filtered("Failed to initialize dll for e7000pc support.\n" );
return -1;
}
- //DBG(("calling win_load_e7kpc\n"));
if (win_load_e7kpc () != 0)
{
errno = ENOENT;
return -1;
}
#endif /* _WIN32 */
- //DBG(("calling e7000pc_init\n"));
scb->fd = e7000pc_init ();
if (!scb->fd)
diff --git a/gdb/serial.c b/gdb/serial.c
index 9e9ec82..cefd742 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "gdb_string.h"
#include "gdbcmd.h"
-//#define DEBUGIFY
+/*#define DEBUGIFY*/
#include "debugify.h"