diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-05-05 17:07:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-05-05 17:07:40 +0000 |
commit | af33db377b0860b81001f0d5552e00cb44b2474a (patch) | |
tree | 40dc09605257ab32cee328437f4a9aef8addb240 /gdb/m2-exp.y | |
parent | 0497f5b03f47a7bf6e992d39b8057f647b181a8f (diff) | |
download | binutils-gdb-af33db377b0860b81001f0d5552e00cb44b2474a.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.y | 16 |
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. */ |