aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-05-05 17:07:40 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-05-05 17:07:40 +0000
commitaf33db377b0860b81001f0d5552e00cb44b2474a (patch)
tree40dc09605257ab32cee328437f4a9aef8addb240 /gdb/m2-exp.y
parent0497f5b03f47a7bf6e992d39b8057f647b181a8f (diff)
downloadgdb-af33db377b0860b81001f0d5552e00cb44b2474a.zip
gdb-af33db377b0860b81001f0d5552e00cb44b2474a.tar.gz
gdb-af33db377b0860b81001f0d5552e00cb44b2474a.tar.bz2
Remove unused MAX_OF*/MIN_OF* macros.
FWIW: They can no longer work either, as they depend on other macros which have been missing for quite a while. ChangeLog: * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros. * ada-lang.c: Remove comment mentioning these macros. * m2-exp.y: Delete commented out code.
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 38bc7cc..3baff79 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -651,22 +651,6 @@ type
%%
-#if 0 /* FIXME! */
-int
-overflow(a,b)
- long a,b;
-{
- return (MAX_OF_TYPE(parse_m2_type->builtin_int) - b) < a;
-}
-
-int
-uoverflow(a,b)
- unsigned long a,b;
-{
- return (MAX_OF_TYPE(parse_m2_type->builtin_card) - b) < a;
-}
-#endif /* FIXME */
-
/* Take care of parsing a number (anything that starts with a digit).
Set yylval and return the token type; update lexptr.
LEN is the number of characters in it. */