DWARF: cannot break on out-of-line function nested inside inlined function.
[deliverable/binutils-gdb.git] / gdb / microblaze-rom.c
index 66251db3938e41a6e99686891b6a3b5cf9f94d7b..beffadf10035e86c1de751539e0dd7cb9cc7215d 100644 (file)
@@ -83,7 +83,7 @@ picobug_dumpregs (struct regcache *regcache)
       if (strchr (p, '-'))
        {
          /* Got a range.  Either r0-r7, r8-r15 or ss0-ss4.  */
-         if (strncmp (p, "r0", 2) == 0 || strncmp (p, "r8", 2) == 0)
+         if (startswith (p, "r0") || startswith (p, "r8"))
            {
              int rn = (p[1] == '0' ? 0 : 8);
              int i = 0;
@@ -97,7 +97,7 @@ picobug_dumpregs (struct regcache *regcache)
                  i++;
                }
            }
-         else if (strncmp (p, "ss", 2) == 0)
+         else if (startswith (p, "ss"))
            {
              /* Get the next five values, ignoring the first.  */
              int rn;
This page took 0.044298 seconds and 4 git commands to generate.