diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-04 02:22:53 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-04 02:22:53 +0000 |
commit | d351c7a6b3f41184512c13fe130b8151bf19ec8e (patch) | |
tree | 00789a521cb36437f1335d8937d92f2d5d732496 /gdb/remote-udi.c | |
parent | 4901e77de7b285c720a39c4153123d1c2b07aa17 (diff) | |
download | gdb-d351c7a6b3f41184512c13fe130b8151bf19ec8e.zip gdb-d351c7a6b3f41184512c13fe130b8151bf19ec8e.tar.gz gdb-d351c7a6b3f41184512c13fe130b8151bf19ec8e.tar.bz2 |
* remote-udi.c (udi_attach): If no arguments, print error.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r-- | gdb/remote-udi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index d4c634e..17c1016 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"); |