diff options
Diffstat (limited to 'gdb/source-cache.h')
-rw-r--r-- | gdb/source-cache.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/source-cache.h b/gdb/source-cache.h index bec6598..51b4351 100644 --- a/gdb/source-cache.h +++ b/gdb/source-cache.h @@ -37,9 +37,7 @@ class source_cache { public: - source_cache () - { - } + source_cache () {} /* This returns the vector of file offsets for the symtab S, computing the vector first if needed. @@ -49,8 +47,7 @@ public: On success, returns true and sets *OFFSETS. This pointer is not guaranteed to remain valid across other calls to get_source_lines or get_line_charpos. */ - bool get_line_charpos (struct symtab *s, - const std::vector<off_t> **offsets); + bool get_line_charpos (struct symtab *s, const std::vector<off_t> **offsets); /* Get the source text for the source file in symtab S. FIRST_LINE and LAST_LINE are the first and last lines to return; line @@ -58,8 +55,8 @@ public: numbers are out of range, false is returned. Otherwise, LINES_OUT is set to the desired text. The returned text may include ANSI terminal escapes. */ - bool get_source_lines (struct symtab *s, int first_line, - int last_line, std::string *lines_out); + bool get_source_lines (struct symtab *s, int first_line, int last_line, + std::string *lines_out); /* Remove all the items from the source cache. */ void clear () |