From: Jim Kingdon Date: Fri, 4 Feb 1994 02:22:53 +0000 (+0000) Subject: * remote-udi.c (udi_attach): If no arguments, print error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d351c7a6b3f41184512c13fe130b8151bf19ec8e;p=binutils-gdb.git * remote-udi.c (udi_attach): If no arguments, print error. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f26c5510592..0fa40719377 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index d4c634e7cbd..17c1016065e 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -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");