]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/valops.c
2007-06-06 Markus Deuling <deuling@de.ibm.com>
[thirdparty/binutils-gdb.git] / gdb / valops.c
index b55f45fe95611e62deb98dc1e9098ebc467bfd93..d32bb0273a4face552dbda8375fe4a4e5ed207df 100644 (file)
@@ -374,7 +374,7 @@ value_cast (struct type *type, struct value *arg2)
       LONGEST longest;
 
       /* When we cast pointers to integers, we mustn't use
-         POINTER_TO_ADDRESS to find the address the pointer
+         gdbarch_pointer_to_address to find the address the pointer
          represents, as value_as_long would.  GDB should evaluate
          expressions just as the compiler would --- and the compiler
          sees a cast as a simple reinterpretation of the pointer's