aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
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/ada-lang.c
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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 7238a44..f31d075 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -527,11 +527,6 @@ check_size (const struct type *type)
error (_("object size is larger than varsize-limit"));
}
-
-/* Note: would have used MAX_OF_TYPE and MIN_OF_TYPE macros from
- gdbtypes.h, but some of the necessary definitions in that file
- seem to have gone missing. */
-
/* Maximum value of a SIZE-byte signed integer type. */
static LONGEST
max_of_size (int size)