projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9a344
)
Add comment (part of immediately previous commit).
author
David Taylor
<taylor@redhat.com>
Thu, 8 Mar 2001 20:51:38 +0000
(20:51 +0000)
committer
David Taylor
<taylor@redhat.com>
Thu, 8 Mar 2001 20:51:38 +0000
(20:51 +0000)
gdb/stack.c
patch
|
blob
|
history
diff --git
a/gdb/stack.c
b/gdb/stack.c
index 95ecdee4450077ad7bd0ea1f6f90b3418f5c427d..77b7602225db675c3252df3ba12567681f9a5882 100644
(file)
--- a/
gdb/stack.c
+++ b/
gdb/stack.c
@@
-728,6
+728,11
@@
parse_frame_specification (char *frame_exp)
tmp_cleanup = make_cleanup (xfree, addr_string);
+ /* NOTE: we call parse_and_eval and then both
+ value_as_long and value_as_pointer rather than calling
+ parse_and_eval_long and parse_and_eval_address because
+ of the issue of potential side effects from evaluating
+ the expression. */
vp = parse_and_eval (addr_string);
if (numargs == 0)
level = value_as_long (vp);