diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-20 21:56:22 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-20 21:56:22 +0000 |
commit | 65f056028c7a7bf14ad6d38b190f4a264a3621bf (patch) | |
tree | 4eac3997881ebcae7ef882cca39f620974e358e3 /gdb/tui/tui-winsource.c | |
parent | 6bb0384f7ca5b2e5ad6a3cf0a676dfa3528d7a4a (diff) | |
download | gdb-65f056028c7a7bf14ad6d38b190f4a264a3621bf.zip gdb-65f056028c7a7bf14ad6d38b190f4a264a3621bf.tar.gz gdb-65f056028c7a7bf14ad6d38b190f4a264a3621bf.tar.bz2 |
2004-01-20 Andrew Cagney <cagney@redhat.com>
* tui/tui-disasm.h: Update copyright. Include "tui.h" and
"tui-data.h".
(tui_set_disassem_content): Rename tuiSetDisassemContent.
(tui_show_disassem): Rename tuiShowDisassem.
(tui_show_disassem_and_update_source): Rename
tuiVerticalDisassemScroll.
(tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
(tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
* tui/tui.h: Update copyright.
(enum tui_status): Define.
* tui/tui-data.h (enum tui_scroll_direction): Define.
* tui/tui-disasm.c: Update copyright. Update references.
* tui/tui-winsource.c: Update copyright. Update references.
* tui/tui-win.c: Update references.
* tui/tui-layout.c: Update references.
Diffstat (limited to 'gdb/tui/tui-winsource.c')
-rw-r--r-- | gdb/tui/tui-winsource.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c index c799550..87609b4 100644 --- a/gdb/tui/tui-winsource.c +++ b/gdb/tui/tui-winsource.c @@ -1,7 +1,7 @@ /* TUI display source/assembly window. - Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, - Inc. + Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software + Foundation, Inc. Contributed by Hewlett-Packard Company. @@ -55,7 +55,7 @@ tui_display_main (void) { CORE_ADDR addr; - addr = tuiGetBeginAsmAddress (); + addr = tui_get_begin_asm_address (); if (addr != (CORE_ADDR) 0) { struct symtab_and_line sal; @@ -102,7 +102,7 @@ tuiUpdateSourceWindowAsIs (TuiWinInfoPtr winInfo, struct symtab *s, if (winInfo->generic.type == SRC_WIN) ret = tuiSetSourceContent (s, lineOrAddr.lineNo, noerror); else - ret = tuiSetDisassemContent (lineOrAddr.addr); + ret = tui_set_disassem_content (lineOrAddr.addr); if (ret == TUI_FAILURE) { @@ -154,10 +154,10 @@ tuiUpdateSourceWindowsWithAddr (CORE_ADDR addr) { case DISASSEM_COMMAND: case DISASSEM_DATA_COMMAND: - tuiShowDisassem (addr); + tui_show_disassem (addr); break; case SRC_DISASSEM_COMMAND: - tuiShowDisassemAndUpdateSource (addr); + tui_show_disassem_and_update_source (addr); break; default: sal = find_pc_line (addr, 0); @@ -206,7 +206,7 @@ tuiUpdateSourceWindowsWithLine (struct symtab *s, int line) if (currentLayout () == SRC_DISASSEM_COMMAND) { find_line_pc (s, line, &pc); - tuiShowDisassem (pc); + tui_show_disassem (pc); } break; } |