void rerender () override;
virtual bool set_contents (struct gdbarch *gdbarch,
- struct symtab *s,
- struct tui_line_or_address line_or_addr) = 0;
+ const struct symtab_and_line &sal) = 0;
public:
virtual void maybe_update (struct frame_info *fi, symtab_and_line sal) = 0;
void update_source_window_as_is (struct gdbarch *gdbarch,
- struct symtab *s,
- struct tui_line_or_address line_or_addr);
+ const struct symtab_and_line &sal);
void update_source_window (struct gdbarch *gdbarch,
- struct symtab *s,
- struct tui_line_or_address line_or_addr);
+ const struct symtab_and_line &sal);
/* Scan the source window and the breakpoints to update the
break_mode information for each line. Returns true if something
/* Function to display the "main" routine. */
extern void tui_display_main (void);
extern void tui_update_source_windows_with_addr (struct gdbarch *, CORE_ADDR);
-extern void tui_update_source_windows_with_line (struct symtab *,
- int);
+extern void tui_update_source_windows_with_line (struct symtab_and_line sal);
/* Extract some source text from PTR. LINE_NO is the line number. If
it is positive, it is printed at the start of the line. FIRST_COL