summaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-05-05 17:07:39 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-05-05 17:07:39 +0000
commit7dcd7a8714c7718ac2131d7a5ef612212f2b5667 (patch)
tree2154cdeabb25788d14592771d278e51781359251 /gdb/m2-exp.y
parent182bca0ee80a3a070892e96158ca89424854e0b6 (diff)
downloadgdb-7dcd7a8714c7718ac2131d7a5ef612212f2b5667.tar.gz
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 38bc7ccfa5b..3baff791ee5 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. */