aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-winsource.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-07 01:40:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-07 01:40:25 +0000
commita358af15d5b507a3f67713ebd1dce7f5ddc81434 (patch)
tree978672230d9cdf77e4daa81814e4e2efc33ca382 /gdb/tui/tui-winsource.c
parenta21fcd8ffbe4461b215a99e056ecfa434f00b3c9 (diff)
downloadgdb-a358af15d5b507a3f67713ebd1dce7f5ddc81434.zip
gdb-a358af15d5b507a3f67713ebd1dce7f5ddc81434.tar.gz
gdb-a358af15d5b507a3f67713ebd1dce7f5ddc81434.tar.bz2
2004-02-06 Andrew Cagney <cagney@redhat.com>
* tui/tui-source.h: Update copyright. Include "tui-data.h". (struct symtab): Declare. (tui_set_source_content): Rename tuiSetSourceContent. (tui_show_symtab_source): Rename tuiShowSource. (tui_source_is_displayed): Rename tuiSourceIsDisplayed. (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll. * tui/tui-source.c: Update copyright. Update references. * tui/tui-win.c, tui/tui-winsource.c: Update references. * tui/tui-stack.c: Update references.
Diffstat (limited to 'gdb/tui/tui-winsource.c')
-rw-r--r--gdb/tui/tui-winsource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index 9e936ad..0499913 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -94,7 +94,7 @@ tui_update_source_window_as_is (TuiWinInfoPtr winInfo, struct symtab *s,
TuiStatus ret;
if (winInfo->generic.type == SRC_WIN)
- ret = tuiSetSourceContent (s, lineOrAddr.lineNo, noerror);
+ ret = tui_set_source_content (s, lineOrAddr.lineNo, noerror);
else
ret = tui_set_disassem_content (lineOrAddr.addr);
@@ -153,7 +153,7 @@ tui_update_source_windows_with_addr (CORE_ADDR addr)
default:
sal = find_pc_line (addr, 0);
l.lineNo = sal.line;
- tuiShowSource (sal.symtab, l, FALSE);
+ tui_show_symtab_source (sal.symtab, l, FALSE);
break;
}
}
@@ -190,7 +190,7 @@ tui_update_source_windows_with_line (struct symtab *s, int line)
break;
default:
l.lineNo = line;
- tuiShowSource (s, l, FALSE);
+ tui_show_symtab_source (s, l, FALSE);
if (currentLayout () == SRC_DISASSEM_COMMAND)
{
find_line_pc (s, line, &pc);