diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-06 22:42:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-06 22:42:18 +0000 |
commit | f80bda8efddc42d85ad3c5830324afd3e6abd3a8 (patch) | |
tree | b09d05c80a46c25bf167e6e1c27e7c84685928e4 /gdb/tui/tui-stack.c | |
parent | 9fbfb822017ec85391b58313c8668efcb521e447 (diff) | |
download | gdb-f80bda8efddc42d85ad3c5830324afd3e6abd3a8.zip gdb-f80bda8efddc42d85ad3c5830324afd3e6abd3a8.tar.gz gdb-f80bda8efddc42d85ad3c5830324afd3e6abd3a8.tar.bz2 |
2004-02-06 Andrew Cagney <cagney@redhat.com>
* tui/tui-source.h: Do not include "defs.h".
(struct tui_win_info): Declare.
(tui_set_source_content_nil): Declare.
* tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
(union tui_line_or_address): Rename _TuiLineOrAddress.
* tui/tui-winsource.h: Update copyright. Include "tui-data.h".
(tui_update_source_window): Rename tuiUpdateSourceWindow.
(tui_update_source_window_as_is): Rename
tuiUpdateSourceWindowAsIs.
(tui_update_source_windows_with_addr): Rename
tuiUpdateSourceWindowsWithAddr.
(tui_update_source_windows_with_line): Rename
tuiUpdateSourceWindowsWithLine.
(tui_clear_source_content): Rename tuiClearSourceContent.
(tui_erase_source_content): Rename tuiEraseSourceContent.
(tui_set_source_content_nil): Rename tuiSetSourceContentNil.
(tui_show_source_content): Rename tuiShowSourceContent.
(tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
(tui_set_exec_info_content): Rename tuiSetExecInfoContent.
(tui_show_exec_info_content): Rename tuiShowExecInfoContent.
(tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
(tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
(tui_update_exec_info): Rename tuiUpdateExecInfo.
(tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
(tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
(tui_line_is_displayed): Rename tuiLineIsDisplayed.
(tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
(struct tui_win_info): Declare.
* tui/tui-stack.c: Update references.
* tui/tui-layout.c, tui/tui-winsource.c: Ditto.
* tui/tui-win.c, tui/tui-source.c: Ditto.
* tui/tui.c, tui/tui-disasm.c: Ditto.
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r-- | gdb/tui/tui-stack.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index c7210a1..7fac047 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -374,12 +374,12 @@ tui_show_frame_info (struct frame_info *fi) TuiLineOrAddress l; l.lineNo = startLine; if (!(sourceAlreadyDisplayed - && tuiLineIsDisplayed (item->locator.lineNo, winInfo, TRUE))) - tuiUpdateSourceWindow (winInfo, sal.symtab, l, TRUE); + && tui_line_is_displayed (item->locator.lineNo, winInfo, TRUE))) + tui_update_source_window (winInfo, sal.symtab, l, TRUE); else { l.lineNo = item->locator.lineNo; - tuiSetIsExecPointAt (l, winInfo); + tui_set_is_exec_point_at (l, winInfo); } } else @@ -388,16 +388,16 @@ tui_show_frame_info (struct frame_info *fi) { TuiLineOrAddress a; a.addr = low; - if (!tuiAddrIsDisplayed (item->locator.addr, winInfo, TRUE)) - tuiUpdateSourceWindow (winInfo, sal.symtab, a, TRUE); + if (!tui_addr_is_displayed (item->locator.addr, winInfo, TRUE)) + tui_update_source_window (winInfo, sal.symtab, a, TRUE); else { a.addr = item->locator.addr; - tuiSetIsExecPointAt (a, winInfo); + tui_set_is_exec_point_at (a, winInfo); } } } - tuiUpdateExecInfo (winInfo); + tui_update_exec_info (winInfo); } } else @@ -407,8 +407,8 @@ tui_show_frame_info (struct frame_info *fi) for (i = 0; i < (sourceWindows ())->count; i++) { winInfo = (TuiWinInfoPtr) (sourceWindows ())->list[i]; - tuiClearSourceContent (winInfo, EMPTY_SOURCE_PROMPT); - tuiUpdateExecInfo (winInfo); + tui_clear_source_content (winInfo, EMPTY_SOURCE_PROMPT); + tui_update_exec_info (winInfo); } } } |