mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* ser-ocd.c (ocd_open): Handle Unix case gracefully.
fixes bug reported on ecos-discuss
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
|
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.
|
* target.c (dummy_target): Don't initialize statically.
|
||||||
(init_dummy_target): New function, fills in dummy_target.
|
(init_dummy_target): New function, fills in dummy_target.
|
||||||
(initialize_targets): Use it.
|
(initialize_targets): Use it.
|
||||||
|
@ -62,8 +62,10 @@ ocd_open (scb, name)
|
|||||||
if (dll_do_command == NULL)
|
if (dll_do_command == NULL)
|
||||||
error ("Can't find do_command function in Wigglers.dll");
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user