of VALUE_TYPE.
* generic/gdbtk-cmds.c (gdb_eval): Likewise.
+2004-11-18 Keith Seitz <kseitz@sources.redhat.com>
+
+ * generic/gdbtk-wrapper.c (wrap_type_print): Use value_type instead
+ of VALUE_TYPE.
+ * generic/gdbtk-cmds.c (gdb_eval): Likewise.
+
2004-10-31 David Lecomber <dsl@sources.redhat.com>
* generic/gdbtk-register.c: Add message parameter
to call of get_selected_frame.
#include "dictionary.h"
#include "filenames.h"
#include "disasm.h"
+#include "value.h"
/* tcl header files includes varargs.h unless HAS_STDARG is defined,
but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
/* "Print" the result of the expression evaluation. */
stb = mem_fileopen ();
make_cleanup_ui_file_delete (stb);
- val_print (VALUE_TYPE (val), VALUE_CONTENTS (val),
+ val_print (value_type (val), VALUE_CONTENTS (val),
VALUE_EMBEDDED_OFFSET (val), VALUE_ADDRESS (val),
stb, format, 0, 0, 0);
result = ui_file_xstrdup (stb, &dummy);
char *varstring = (*args)->args[1];
struct ui_file *stream = (struct ui_file *) (*args)->args[2];
int show = (int) (*args)->args[3];
- type_print (VALUE_TYPE (val), varstring, stream, show);
+ type_print (value_type (val), varstring, stream, show);
return 1;
}