projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* section.c (_bfd_std_section): Rename from std_section.
[deliverable/binutils-gdb.git]
/
gdb
/
bcache.c
diff --git
a/gdb/bcache.c
b/gdb/bcache.c
index e23cb6b0137fec5235e37096dcb85cb12a357a29..712142dac7f0693244bdf6951a2c5757acf80659 100644
(file)
--- a/
gdb/bcache.c
+++ b/
gdb/bcache.c
@@
-2,8
+2,7
@@
Written by Fred Fish <fnf@cygnus.com>
Rewritten by Jim Blandy <jimb@cygnus.com>
Written by Fred Fish <fnf@cygnus.com>
Rewritten by Jim Blandy <jimb@cygnus.com>
- Copyright (C) 1999, 2000, 2002, 2003, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 1999-2013 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-209,9
+208,9
@@
expand_hash_table (struct bcache *bcache)
never seen those bytes before, add a copy of them to BCACHE. In
either case, return a pointer to BCACHE's copy of that string. */
const void *
never seen those bytes before, add a copy of them to BCACHE. In
either case, return a pointer to BCACHE's copy of that string. */
const void *
-bcache (const void *addr, int length, struct bcache *
b
cache)
+bcache (const void *addr, int length, struct bcache *cache)
{
{
- return bcache_full (addr, length,
b
cache, NULL);
+ return bcache_full (addr, length, cache, NULL);
}
/* Find a copy of the LENGTH bytes at ADDR in BCACHE. If BCACHE has
}
/* Find a copy of the LENGTH bytes at ADDR in BCACHE. If BCACHE has
@@
-455,7
+454,8
@@
print_bcache_statistics (struct bcache *c, char *type)
printf_filtered (_(" Median entry size: %d\n"), median_entry_size);
printf_filtered ("\n");
printf_filtered (_(" Median entry size: %d\n"), median_entry_size);
printf_filtered ("\n");
- printf_filtered (_(" Total memory used by bcache, including overhead: %ld\n"),
+ printf_filtered (_(" \
+Total memory used by bcache, including overhead: %ld\n"),
c->structure_size);
printf_filtered (_(" Percentage memory overhead: "));
print_percentage (c->structure_size - c->unique_size, c->unique_size);
c->structure_size);
printf_filtered (_(" Percentage memory overhead: "));
print_percentage (c->structure_size - c->unique_size, c->unique_size);
This page took
0.024247 seconds
and
4
git commands to generate.