aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-01 01:49:54 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-01 01:49:54 +0000
commit7d35e1357e0ea567c9b11bba65ed8937d9150a89 (patch)
tree12f11bab34d5e8ad32212f1a26e24a7533992e1c /gdb/printcmd.c
parentc78d91b126fd4414f0b590fde508961c5d7a1017 (diff)
downloadgdb-7d35e1357e0ea567c9b11bba65ed8937d9150a89.zip
gdb-7d35e1357e0ea567c9b11bba65ed8937d9150a89.tar.gz
gdb-7d35e1357e0ea567c9b11bba65ed8937d9150a89.tar.bz2
2002-01-31 Michael Snyder <msnyder@redhat.com>
* printcmd.c (disassemble_command): Remove an ancient artifact of an old merge.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 306fac3..0315227 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -2319,20 +2319,6 @@ disassemble_command (char *arg, int from_tty)
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;
}
else