Use regcache->tdesc instead of arm_hwcap
[deliverable/binutils-gdb.git] / gdb / remote-notif.c
index 5089100099636cf05ff2d520b1f8158f26b61686..2d24a9a57f736ff412a82884f145eb8b1d5e0453 100644 (file)
@@ -1,6 +1,6 @@
 /* Remote notification in GDB protocol
 
-   Copyright (C) 1988-2014 Free Software Foundation, Inc.
+   Copyright (C) 1988-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -133,7 +133,7 @@ handle_notification (struct remote_notif_state *state, char *buf)
     {
       const char *name = notifs[i]->name;
 
-      if (strncmp (buf, name, strlen (name)) == 0
+      if (startswith (buf, name)
          && buf[strlen (name)] == ':')
        break;
     }
This page took 0.023376 seconds and 4 git commands to generate.