aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-07 22:35:03 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-07 22:35:03 +0000
commit98b3ab7391f408c32fb57d3c552607f92583e2bf (patch)
tree93b61d3c9b5d24979cd8ca4500fc966285673f28 /gdb/language.h
parent240f98d34241670bb28243b365414be3d299dbd7 (diff)
downloadgdb-98b3ab7391f408c32fb57d3c552607f92583e2bf.zip
gdb-98b3ab7391f408c32fb57d3c552607f92583e2bf.tar.gz
gdb-98b3ab7391f408c32fb57d3c552607f92583e2bf.tar.bz2
2003-08-07 Andrew Cagney <cagney@redhat.com>
* language.c (op_error): Delete function. (binop_type_check): Delete function. * language.h (type_op_error, range_op_error): Delete macros. (op_error): Delete declaration.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/language.h b/gdb/language.h
index a1a73a5..75ca555 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -463,12 +463,8 @@ extern void binop_type_check (struct value *, struct value *, int);
/* Error messages */
-extern void op_error (char *fmt, enum exp_opcode, int);
-
-#define type_op_error(f,o) \
- op_error((f),(o),type_check==type_check_on ? 1 : 0)
-#define range_op_error(f,o) \
- op_error((f),(o),range_check==range_check_on ? 1 : 0)
+extern void op_error (const char *lhs, enum exp_opcode,
+ const char *rhs);
extern void type_error (const char *, ...) ATTR_FORMAT (printf, 1, 2);