summaryrefslogtreecommitdiff
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
commit81a78e46ed096779ad2e440e9ad0ef68a36aa21e (patch)
treee4ef54f7dc4f536603ccae644e7f9131c26f1d2f /gdb/top.c
parent409c3a54148befd6e9e031dd0a969becf5bbdb94 (diff)
downloadgdb-81a78e46ed096779ad2e440e9ad0ef68a36aa21e.tar.gz
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 3798a3b7ce9..dfb33a94255 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);
}