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
/
ppc-linux-tdep.c
diff --git
a/gdb/ppc-linux-tdep.c
b/gdb/ppc-linux-tdep.c
index a7b1163571642b4ad47bc880a2f8dae754e9e5a8..6c6eacfb16aff046e1da7ccd67781f64a8da0f4b 100644
(file)
--- a/
gdb/ppc-linux-tdep.c
+++ b/
gdb/ppc-linux-tdep.c
@@
-985,7
+985,7
@@
ppc_linux_write_pc (struct regcache *regcache, CORE_ADDR pc)
static int
ppc_linux_spu_section (bfd *abfd, asection *asect, void *user_data)
{
- return st
rncmp (bfd_section_name (abfd, asect), "SPU/", 4) == 0
;
+ return st
artswith (bfd_section_name (abfd, asect), "SPU/")
;
}
static const struct target_desc *
This page took
0.025866 seconds
and
4
git commands to generate.