Save plain text in the source cache
[deliverable/binutils-gdb.git] / gdb / source-cache.h
index a00efbf3fba26ffc0360aaac13b113c4dd9931a8..0c8b14e483e794a043fce3ba686dd387f88985d4 100644 (file)
@@ -58,11 +58,10 @@ private:
     std::string contents;
   };
 
-  /* A helper function for get_source_lines that is used when the
-     source lines are not highlighted.  The arguments and return value
-     are as for get_source_lines.  */
-  bool get_plain_source_lines (struct symtab *s, int first_line,
-                              int last_line, std::string *lines_out);
+  /* A helper function for get_source_lines reads a source file.
+     Returns false on error.  If no error, the contents of the file
+     are put into *LINES_OUT, and returns true.  */
+  bool get_plain_source_lines (struct symtab *s, std::string *lines_out);
 
   /* The contents of the cache.  */
   std::vector<source_text> m_source_map;
This page took 0.039765 seconds and 4 git commands to generate.