From 046245839052222161e5cb1233a0f4ca55cfffba Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 7 Feb 2005 23:51:03 +0000 Subject: 2005-02-07 Andrew Cagney * value.h (deprecated_set_value_type): Declare. * value.c (deprecated_set_value_type): Define. * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update. * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update. * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update. * ax-gdb.c, tracepoint.c: Update. --- gdb/ax-gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ax-gdb.c') diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index eb971ae..98d9ef5 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1424,7 +1424,7 @@ gen_repeat (union exp_element **pc, struct agent_expr *ax, if (!v) error (_("Right operand of `@' must be a constant, in agent expressions.")); - if (TYPE_CODE (v->type) != TYPE_CODE_INT) + if (TYPE_CODE (value_type (v)) != TYPE_CODE_INT) error (_("Right operand of `@' must be an integer.")); length = value_as_long (v); if (length <= 0) -- cgit v1.1