diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-07 17:46:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-07 17:46:14 +0000 |
commit | 22940a245df9e2473270137fbfbf1280db4eebcf (patch) | |
tree | f118ef934a6b399ebdd034e191dc5fcbdbd3accc /gdb/tui/tui-disasm.c | |
parent | b99607ea3cc204c613ef8acf0fce8bdffb7e89e7 (diff) | |
download | gdb-22940a245df9e2473270137fbfbf1280db4eebcf.zip gdb-22940a245df9e2473270137fbfbf1280db4eebcf.tar.gz gdb-22940a245df9e2473270137fbfbf1280db4eebcf.tar.bz2 |
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
(TuiPoint, TuiPointPtr): Ditto.
(TuiStatus, TuiStatusPtr): Ditto.
(TuiWinType, TuiWinTypePtr): Ditto.
(struct tui_point): Rename _TuiPoint.
(tui_get_low_disassembly_address): Rename
tuiGetLowDisassemblyAddress.
(tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
(tuiFree): Delete declaration.
(OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
(TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
* tui/tui.c (tuiFree): Delete function.
* cli/cli-cmds.c (disassemble_command): Update references.
* tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
* tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c: Ditto.
Diffstat (limited to 'gdb/tui/tui-disasm.c')
-rw-r--r-- | gdb/tui/tui-disasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 00c2a81..1143ba2 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.c @@ -175,7 +175,7 @@ tui_find_disassembly_address (CORE_ADDR pc, int from) enum tui_status tui_set_disassem_content (CORE_ADDR pc) { - TuiStatus ret = TUI_FAILURE; + enum tui_status ret = TUI_FAILURE; register int i; register int offset = disassemWin->detail.sourceInfo.horizontalOffset; register int lineWidth, maxLines; @@ -358,7 +358,7 @@ tui_get_begin_asm_address (void) disassembly window. This may or may not be the same as the low address input. */ CORE_ADDR -tuiGetLowDisassemblyAddress (CORE_ADDR low, CORE_ADDR pc) +tui_get_low_disassembly_address (CORE_ADDR low, CORE_ADDR pc) { int pos; @@ -377,7 +377,7 @@ void tui_vertical_disassem_scroll (enum tui_scroll_direction scrollDirection, int numToScroll) { - if (disassemWin->generic.content != (OpaquePtr) NULL) + if (disassemWin->generic.content != NULL) { CORE_ADDR pc; tui_win_content content; |