mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
2002-01-31 Michael Snyder <msnyder@redhat.com>
* printcmd.c (disassemble_command): Remove an ancient artifact of an old merge.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user