* remote-udi.c (udi_attach): If no arguments, print error.

This commit is contained in:
Jim Kingdon 1994-02-04 02:22:53 +00:00
parent 4901e77de7
commit d351c7a6b3
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
a special exceptionSize for the 68332.
* remote-udi.c (udi_attach): If no arguments, print error.
Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
* Makefile.in (VERSION): Bump to 4.12.1

View File

@ -337,6 +337,9 @@ udi_attach (args, from_tty)
UDIBool HostEndian = 0;
UDIError err;
if (args == NULL)
error_no_arg ("program to attach");
if (udi_session_id < 0)
error ("UDI connection not opened yet, use the 'target udi' command.\n");