diff options
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"); |