* ser-ocd.c (ocd_open): Handle Unix case gracefully.
authorStan Shebs <shebs@codesourcery.com>
Tue, 19 Jan 1999 02:13:06 +0000 (02:13 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 19 Jan 1999 02:13:06 +0000 (02:13 +0000)
fixes bug reported on ecos-discuss

gdb/ChangeLog
gdb/ser-ocd.c

index a3f7237eba36f1340d51ab6f9175bb4fa6995a29..0735ccdbe94b5690aa8da0b54b94ecec11a828b7 100644 (file)
@@ -1,5 +1,7 @@
 Mon Jan 18 16:40:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
 
+       * ser-ocd.c (ocd_open): Handle Unix case gracefully.
+
        * target.c (dummy_target): Don't initialize statically.
        (init_dummy_target): New function, fills in dummy_target.
        (initialize_targets): Use it.
index 7ef17967c4d8e5d01b1b86ad3a5d150b68d4d200..971f84e049c451e69e3b276714795125a7cebb0d 100644 (file)
@@ -62,8 +62,10 @@ ocd_open (scb, name)
       if (dll_do_command == NULL)
        error ("Can't find do_command function in Wigglers.dll");
     }
-#endif
-
+#else
+  /* No wiggler DLLs on Unix yet, fail.  */
+  error ("Wiggler library not available for this type of host.");
+#endif /* _WIN32 */
   return 0;
 }
 
This page took 0.037969 seconds and 4 git commands to generate.