aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-ocd.c
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1997-08-11 23:40:26 +0000
committerGeoffrey Noer <noer@cygnus>1997-08-11 23:40:26 +0000
commit2549d2b38572740e9ce0ec4f517f5b8357ea51e0 (patch)
treea1b126bd98c4c47f49f8b80dbcfe0f5a3d0680a5 /gdb/ser-ocd.c
parent53a9bb1a3291342c524d17083bddb4c1e07049b9 (diff)
downloadfsf-binutils-gdb-2549d2b38572740e9ce0ec4f517f5b8357ea51e0.zip
fsf-binutils-gdb-2549d2b38572740e9ce0ec4f517f5b8357ea51e0.tar.gz
fsf-binutils-gdb-2549d2b38572740e9ce0ec4f517f5b8357ea51e0.tar.bz2
Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro BDM_BREAKPOINT already has braces around it, remove erroneous ones. * ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of __CYGWIN32__ * config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP * ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file, fill in doc fields of bdm_ppc_ops. (bdm_ppc_fetch_registers): don't ask for invalid registers such as the MQ or floating point regs not present on ppc 8xx boards (bdm_ppc_store_registers): don't write those same invalid registers * config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o * config/powerpc/ppc-eabi.mt: * config/powerpc/ppcle-eabi.mt: * config/powerpc/ppc-sim.mt: * config/powerpc/ppcle-sim.mt: include ser-ocd.o
Diffstat (limited to 'gdb/ser-ocd.c')
-rw-r--r--gdb/ser-ocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-ocd.c b/gdb/ser-ocd.c
index ad9ba0c..4008a87 100644
--- a/gdb/ser-ocd.c
+++ b/gdb/ser-ocd.c
@@ -159,7 +159,7 @@ ocd_write (scb, str, len)
{
char c;
-#ifdef __CYGWIN32__
+#ifdef _WIN32
/* send packet to Wigglers.dll and store response so we can give it to
remote-wiggler.c when get_packet is run */
dll_do_command (str, from_wiggler_buffer);