* remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
authorJohn Gilmore <gnu@cygnus>
Wed, 10 Feb 1993 04:09:05 +0000 (04:09 +0000)
committerJohn Gilmore <gnu@cygnus>
Wed, 10 Feb 1993 04:09:05 +0000 (04:09 +0000)
fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.

PR# gdb/2162

gdb/ChangeLog
gdb/remote-udi.c

index 5e13fed2e10336ccec8bfe5212f63f86dad13cbc..2b45083a71cc6d5f2a146bf8c75aa8a8ce594b29 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb  9 20:07:18 1993  John Gilmore  (gnu@cygnus.com)
+
+       * remote-udi.c (FREEZE_MODE):  Fix && for & typo.  Found and
+       fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
+
 Tue Feb  9 08:18:07 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
index af846e619ac2f3e60ece6cc0fe4668c44a1ce894..10cb87c671e133d704e39ae0d6b632b3f5a13f85 100644 (file)
@@ -81,7 +81,7 @@ char   CoffFileName[100] = "";
 #define TYPE_A29050     3
 static  char *processor_name[] = { "Unknown", "Am29000", "Am29030", "Am29050" };
 static  int processor_type=TYPE_UNKNOWN;
-#define FREEZE_MODE     (read_register(CPS_REGNUM) && 0x400)
+#define FREEZE_MODE     (read_register(CPS_REGNUM) & 0x400)
 #define USE_SHADOW_PC  ((processor_type == TYPE_A29050) && FREEZE_MODE) 
 
 #define LLOG_FILE "udi.log"