This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] zap value_ptr from MI code
- To: gdb-patches at sources dot redhat dot com
- Subject: [patch] zap value_ptr from MI code
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 09 Jul 2001 10:53:41 -0400
Just FYI, a minor cleanup.
Andrew
2001-07-07 Andrew Cagney <ac131313@redhat.com>
* mi-main.c (mi_cmd_data_evaluate_expression): Replace value_ptr
with `struct value *'.
Index: mi-main.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-main.c,v
retrieving revision 1.19
diff -p -r1.19 mi-main.c
*** mi-main.c 2001/06/25 21:05:11 1.19
--- mi-main.c 2001/07/09 14:46:32
*************** mi_cmd_data_evaluate_expression (char *c
*** 659,665 ****
{
struct expression *expr;
struct cleanup *old_chain = NULL;
! value_ptr val;
struct ui_stream *stb = NULL;
stb = ui_out_stream_new (uiout);
--- 659,665 ----
{
struct expression *expr;
struct cleanup *old_chain = NULL;
! struct value *val;
struct ui_stream *stb = NULL;
stb = ui_out_stream_new (uiout);