projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New common function "startswith"
[deliverable/binutils-gdb.git]
/
gdb
/
sparc64nbsd-tdep.c
diff --git
a/gdb/sparc64nbsd-tdep.c
b/gdb/sparc64nbsd-tdep.c
index 78e3b58e07090e51b771f5f49edf4b2d7842cf0e..32da6ac697ae46b16c17606b7ae57c00be0b5a97 100644
(file)
--- a/
gdb/sparc64nbsd-tdep.c
+++ b/
gdb/sparc64nbsd-tdep.c
@@
-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.024535 seconds
and
4
git commands to generate.