* value.h (value_as_address): Rename value_as_pointer.
[deliverable/binutils-gdb.git] / gdb / stack.c
index f2536aa3195884d206d492fda22938c994a2a973..4c7e5fa38f0b28ea183e8079d107c8d2758cb6c4 100644 (file)
@@ -701,7 +701,7 @@ 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
+              value_as_long and value_as_address rather than calling
               parse_and_eval_long and parse_and_eval_address because
               of the issue of potential side effects from evaluating
               the expression.  */
@@ -709,7 +709,7 @@ parse_frame_specification (char *frame_exp)
            if (numargs == 0)
              level = value_as_long (vp);
 
-           args[numargs++] = value_as_pointer (vp);
+           args[numargs++] = value_as_address (vp);
            do_cleanups (tmp_cleanup);
          }
 
This page took 0.024416 seconds and 4 git commands to generate.