diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-23 23:25:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-23 23:25:17 +0000 |
commit | 080ce8c082fc89e827b6058613e7e7ded5cb1c3f (patch) | |
tree | b635ca5974b6e7697ebcad821eb430182c90d0ea /gdb/tui/tui-disasm.c | |
parent | b368761e45fa3e27c8433fa421963d6ecf12c34a (diff) | |
download | gdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.zip gdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.tar.gz gdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.tar.bz2 |
2004-01-23 Andrew Cagney <cagney@redhat.com>
* printcmd.c (display_command): Replace tui_set_display call with
tui_set_layout_for_display_command.
* tui/tui.h (enum tui_win_type): Define.
(tui_set_layout): Delete declaration.
(tui_set_layout_for_display_command): Rename set_tui_layout.
* tui/tui-data.h (enum tui_layout_type): Define.
* tui/tui-layout.h: Update copyright. Include "tui-data.h" and
"tui.h".
(tui_add_win_to_layout): Rename tuiAddWinToLayout.
(tui_default_win_height): Rename tuiDefaultWinHeight.
(tui_default_win_viewport_height): Rename
tuiDefaultWinViewportHeight.
(tui_set_layout): RenametuiSetLayout.
* tui/tui-layout.c: Update references.
* tui/tui.c: Update references.
* tui/tui-disasm.c: Update references.
Diffstat (limited to 'gdb/tui/tui-disasm.c')
-rw-r--r-- | gdb/tui/tui-disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 99143a4..493c00d 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.c @@ -279,7 +279,7 @@ tui_show_disassem (CORE_ADDR startAddr) TuiLineOrAddress val; val.addr = startAddr; - tuiAddWinToLayout (DISASSEM_WIN); + tui_add_win_to_layout (DISASSEM_WIN); tuiUpdateSourceWindow (disassemWin, s, val, FALSE); /* ** if the focus was in the src win, put it in the asm win, if the @@ -364,7 +364,7 @@ tuiGetLowDisassemblyAddress (CORE_ADDR low, CORE_ADDR pc) /* Determine where to start the disassembly so that the pc is about in the middle of the viewport. */ - pos = tuiDefaultWinViewportHeight (DISASSEM_WIN, DISASSEM_COMMAND) / 2; + pos = tui_default_win_viewport_height (DISASSEM_WIN, DISASSEM_COMMAND) / 2; pc = tui_find_disassembly_address (pc, -pos); if (pc < low) |