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-disasm.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-disasm.c')
-rw-r--r-- | gdb/tui/tui-disasm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 7b12275..be4387b 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.c @@ -190,7 +190,7 @@ tui_set_disassem_content (CORE_ADDR pc) if (pc == 0) return TUI_FAILURE; - ret = tuiAllocSourceBuffer (disassemWin); + ret = tui_alloc_source_buffer (disassemWin); if (ret != TUI_SUCCESS) return ret; @@ -280,7 +280,7 @@ tui_show_disassem (CORE_ADDR startAddr) val.addr = startAddr; tui_add_win_to_layout (DISASSEM_WIN); - tuiUpdateSourceWindow (disassemWin, s, val, FALSE); + tui_update_source_window (disassemWin, s, val, FALSE); /* ** if the focus was in the src win, put it in the asm win, if the ** source view isn't split @@ -309,7 +309,7 @@ tui_show_disassem_and_update_source (CORE_ADDR startAddr) */ sal = find_pc_line (startAddr, 0); val.lineNo = sal.line; - tuiUpdateSourceWindow (srcWin, sal.symtab, val, TRUE); + tui_update_source_window (srcWin, sal.symtab, val, TRUE); if (sal.symtab) { set_current_source_symtab_and_line (&sal); @@ -398,6 +398,6 @@ tui_vertical_disassem_scroll (enum tui_scroll_direction scrollDirection, dir = (scrollDirection == FORWARD_SCROLL) ? maxLines : - maxLines; val.addr = tui_find_disassembly_address (pc, dir); - tuiUpdateSourceWindowAsIs (disassemWin, s, val, FALSE); + tui_update_source_window_as_is (disassemWin, s, val, FALSE); } } |