Fix typo in gdb.python/py-objfile.exp
[deliverable/binutils-gdb.git] / gdb / sparc64nbsd-tdep.c
index 78e3b58e07090e51b771f5f49edf4b2d7842cf0e..32da6ac697ae46b16c17606b7ae57c00be0b5a97 100644 (file)
@@ -216,7 +216,7 @@ sparc64nbsd_sigtramp_frame_sniffer (const struct frame_unwind *self,
   find_pc_partial_function (pc, &name, NULL, NULL);
   if (sparc64nbsd_pc_in_sigtramp (pc, name))
     {
-      if (name == NULL || strncmp (name, "__sigtramp_sigcontext", 21))
+      if (name == NULL || !startswith (name, "__sigtramp_sigcontext"))
        return 1;
     }
 
This page took 0.022811 seconds and 4 git commands to generate.