Uniquefy gdb.threads/attach-into-signal.exp
[deliverable/binutils-gdb.git] / gdb / m32r-rom.c
index 683a11e501bf8a5f7cd1ad34a01b386a53e985be..a2ac53795a67eb85bf1d2fbbe006754cc34ed45d 100644 (file)
@@ -1,7 +1,7 @@
 /* Remote debugging interface to m32r and mon2000 ROM monitors for GDB, 
    the GNU debugger.
 
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2015 Free Software Foundation, Inc.
 
    Adapted by Michael Snyder of Cygnus Support.
 
@@ -447,7 +447,7 @@ m32r_upload_command (char *args, int from_tty)
 
       myIPaddress = skip_spaces (myIPaddress);
 
-      if (!strncmp (myIPaddress, "0.0.", 4))   /* empty */
+      if (startswith (myIPaddress, "0.0."))    /* empty */
        error (_("Please use 'set board-address' to "
                 "set the M32R-EVA board's IP address."));
       if (strchr (myIPaddress, '('))
This page took 0.026027 seconds and 4 git commands to generate.