gdb: Add an overloaded ui_out::text accepting a const std::string &
[deliverable/binutils-gdb.git] / gdb / source.c
index b6dab6eb236a3db4ff181e1446597edce17526e5..54cb45f4e9d4b8321d359444e331142ea881efcb 100644 (file)
@@ -1394,7 +1394,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline,
          if (iter > start)
            {
              std::string text (start, iter);
-             uiout->text (text.c_str ());
+             uiout->text (text);
            }
          if (*iter == '\r')
            {
This page took 0.024456 seconds and 4 git commands to generate.