2003-02-14 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / cli / cli-cmds.c
index 154ecf68ffbedfa0cf2ceb34d6ed1837d3396a57..85dd689cea997dd75b6c31fe3baf32099d4e53ea 100644 (file)
@@ -852,7 +852,9 @@ disassemble_command (char *arg, int from_tty)
       if (find_pc_partial_function (pc, &name, &low, &high) == 0)
        error ("No function contains program counter for selected frame.\n");
 #if defined(TUI)
-      else if (tui_version)
+      /* NOTE: cagney/2003-02-13 The `tui_active' was previously
+        `tui_version'.  */
+      else if (tui_active)
        low = tuiGetLowDisassemblyAddress (low, pc);
 #endif
       low += FUNCTION_START_OFFSET;
@@ -864,7 +866,9 @@ disassemble_command (char *arg, int from_tty)
       if (find_pc_partial_function (pc, &name, &low, &high) == 0)
        error ("No function contains specified address.\n");
 #if defined(TUI)
-      else if (tui_version)
+      /* NOTE: cagney/2003-02-13 The `tui_active' was previously
+        `tui_version'.  */
+      else if (tui_active)
        low = tuiGetLowDisassemblyAddress (low, pc);
 #endif
       low += FUNCTION_START_OFFSET;
This page took 0.024634 seconds and 4 git commands to generate.