projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Have parser reset the innermost block tracker
[external/binutils.git]
/
gdb
/
printcmd.c
diff --git
a/gdb/printcmd.c
b/gdb/printcmd.c
index
c442bb4
..
e3f2f2e
100644
(file)
--- 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 ();
}