2002-01-31 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 01:49:54 +0000 (01:49 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 01:49:54 +0000 (01:49 +0000)
* printcmd.c (disassemble_command): Remove an ancient
artifact of an old merge.

gdb/ChangeLog
gdb/printcmd.c

index b2299fe96ebfa507e19763de1cf1542bcbba6e4c..f29b0e82dda682c94d6364e26fee13ea3432bc5c 100644 (file)
@@ -1,5 +1,8 @@
 2002-01-31  Michael Snyder  <msnyder@redhat.com>
 
+       * printcmd.c (disassemble_command): Remove an ancient
+       artifact of an old merge.
+
        * symfile.h (enum overlay_debugging_state): 
        Define enum constant values for overlay mode.
        * symfile.c (overlay_debugging): Use enums instead of literals.
@@ -18,7 +21,7 @@
 
 2002-01-31  Andrew Cagney  <ac131313@redhat.com>
 
-       * PROBLEMS: Fix tipo, 5.1->5.1.1.
+       * PROBLEMS: Fix typo, 5.1->5.1.1.
 
 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
 
index 306fac32ae712a8f9e204c4f531d7890b1385a55..0315227fc6a50081e6d502a09e35321619c02cdb 100644 (file)
@@ -2318,20 +2318,6 @@ disassemble_command (char *arg, int from_tty)
 #if defined(TUI)
       else if (tui_version)
        low = tuiGetLowDisassemblyAddress (low, pc);
-#endif
-#if 0
-      if (overlay_debugging)
-       {
-         section = find_pc_overlay (pc);
-         if (pc_in_unmapped_range (pc, section))
-           {
-             /* find_pc_partial_function will have returned low and high
-                relative to the symbolic (mapped) address range.  Need to
-                translate them back to the unmapped range where PC is.  */
-             low = overlay_unmapped_address (low, section);
-             high = overlay_unmapped_address (high, section);
-           }
-       }
 #endif
       low += FUNCTION_START_OFFSET;
     }