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
/
rs6000-tdep.c
diff --git
a/gdb/rs6000-tdep.c
b/gdb/rs6000-tdep.c
index 46f6e41c5eb63f1197e6914d313eb2db2fd2fe36..0a869292517e3f3ef98bb47a87b43d032548bca0 100644
(file)
--- a/
gdb/rs6000-tdep.c
+++ b/
gdb/rs6000-tdep.c
@@
-2220,7
+2220,7
@@
static int
rs6000_in_solib_return_trampoline (struct gdbarch *gdbarch,
CORE_ADDR pc, const char *name)
{
rs6000_in_solib_return_trampoline (struct gdbarch *gdbarch,
CORE_ADDR pc, const char *name)
{
- return name &&
!strncmp (name, "@FIX", 4
);
+ return name &&
startswith (name, "@FIX"
);
}
/* Skip code that the user doesn't want to see when stepping:
}
/* Skip code that the user doesn't want to see when stepping:
This page took
0.025043 seconds
and
4
git commands to generate.