Change members of tui_locator_window to std::string
[deliverable/binutils-gdb.git] / gdb / tui / tui-source.c
index f70e053bdb52d33eeb1bbf3c4225f08bfe406403..e6cc0dbc1a3dcf6ec08a0e5b4d7c10d9d31f8f4f 100644 (file)
@@ -179,7 +179,7 @@ tui_source_window::set_contents (struct gdbarch *arch,
              element->line_or_addr.loa = LOA_LINE;
              element->line_or_addr.u.line_no = cur_line_no;
              element->is_exec_point
-               = (filename_cmp (locator->full_name,
+               = (filename_cmp (locator->full_name.c_str (),
                                 symtab_to_fullname (s)) == 0
                   && cur_line_no == locator->line_no);
 
@@ -213,7 +213,7 @@ bool
 tui_source_window::showing_source_p (const char *fullname) const
 {
   return (!content.empty ()
-         && (filename_cmp (tui_locator_win_info_ptr ()->full_name,
+         && (filename_cmp (tui_locator_win_info_ptr ()->full_name.c_str (),
                            fullname) == 0));
 }
 
This page took 0.024174 seconds and 4 git commands to generate.