diff options
Diffstat (limited to 'gdb/bcache.h')
-rw-r--r-- | gdb/bcache.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gdb/bcache.h b/gdb/bcache.h index d3bebd1..0e4d73d 100644 --- a/gdb/bcache.h +++ b/gdb/bcache.h @@ -136,7 +136,8 @@ */ -namespace gdb { +namespace gdb +{ struct bstring; @@ -174,7 +175,9 @@ protected: private: /* All the bstrings are allocated here. */ - struct obstack m_cache {}; + struct obstack m_cache + { + }; /* How many hash buckets we're using. */ unsigned int m_num_buckets = 0; @@ -184,11 +187,12 @@ private: struct bstring **m_bucket = nullptr; /* Statistics. */ - unsigned long m_unique_count = 0; /* number of unique strings */ - long m_total_count = 0; /* total number of strings cached, including dups */ - long m_unique_size = 0; /* size of unique strings, in bytes */ - long m_total_size = 0; /* total number of bytes cached, including dups */ - long m_structure_size = 0; /* total size of bcache, including infrastructure */ + unsigned long m_unique_count = 0; /* number of unique strings */ + long m_total_count = 0; /* total number of strings cached, including dups */ + long m_unique_size = 0; /* size of unique strings, in bytes */ + long m_total_size = 0; /* total number of bytes cached, including dups */ + long m_structure_size + = 0; /* total size of bcache, including infrastructure */ /* Number of times that the hash table is expanded and hence re-built, and the corresponding number of times that a string is [re]hashed as part of entering it into the expanded table. The |