diff options
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; |