aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-10 21:34:56 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-10 21:34:56 +0000
commit3d6d86c64b85be304bccdbb0eeab64d82e95dd67 (patch)
tree8a1240660c46e76381346bb1576b10738057cfea /gdb/top.c
parent6943961c9855edf1dd701b0047483f6a8bca6d90 (diff)
downloadgdb-3d6d86c64b85be304bccdbb0eeab64d82e95dd67.zip
gdb-3d6d86c64b85be304bccdbb0eeab64d82e95dd67.tar.gz
gdb-3d6d86c64b85be304bccdbb0eeab64d82e95dd67.tar.bz2
s/value_ptr/struct value */
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 3798a3b..dfb33a9 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1339,7 +1339,7 @@ get_prompt_1 (void *data)
/* formatted prompt */
{
char fmt[40], *promptp, *outp, *tmp;
- value_ptr arg_val;
+ struct value *arg_val;
DOUBLEST doubleval;
LONGEST longval;
CORE_ADDR addrval;
@@ -1621,7 +1621,7 @@ quit_force (char *args, int from_tty)
value of that expression. */
if (args)
{
- value_ptr val = parse_and_eval (args);
+ struct value *val = parse_and_eval (args);
exit_code = (int) value_as_long (val);
}