aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index c442bb4..e3f2f2e 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1715,7 +1715,6 @@ display_command (const char *arg, int from_tty)
fmt.raw = 0;
}
- innermost_block.reset ();
expression_up expr = parse_expression (exp);
newobj = new display ();
@@ -1883,7 +1882,6 @@ do_one_display (struct display *d)
TRY
{
- innermost_block.reset ();
d->exp = parse_expression (d->exp_string);
d->block = innermost_block.block ();
}