aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-09 00:04:29 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-09 00:04:29 +0000
commitd3cbe7ef42305a5a67982ea342c8df8d3fc5fc5f (patch)
treed2d2433ea4d7737565c7dccd59d7f27cb039b386 /gdb/value.h
parent3c6e816922390b32279d6cce8c266246609f4ee2 (diff)
downloadgdb-d3cbe7ef42305a5a67982ea342c8df8d3fc5fc5f.zip
gdb-d3cbe7ef42305a5a67982ea342c8df8d3fc5fc5f.tar.gz
gdb-d3cbe7ef42305a5a67982ea342c8df8d3fc5fc5f.tar.bz2
2005-02-08 Andrew Cagney <cagney@gnu.org>
* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) (METHOD_PTR_TO_VOFFSET): Move from here ... * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) (METHOD_PTR_TO_VOFFSET): ... to here. * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h". * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 4481242..e66daa0 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -246,11 +246,6 @@ struct internalvar
struct value *value;
};
-/* Pointer to member function. Depends on compiler implementation. */
-
-#define METHOD_PTR_IS_VIRTUAL(ADDR) ((ADDR) & 0x80000000)
-#define METHOD_PTR_FROM_VOFFSET(OFFSET) (0x80000000 + (OFFSET))
-#define METHOD_PTR_TO_VOFFSET(ADDR) (~0x80000000 & (ADDR))
#include "symtab.h"