Clear non-significant bits of address on memory access
[deliverable/binutils-gdb.git] / gdb / utils.h
index 349ab93cce3a9cf638115c239b8e841a0e73de14..b2e3d571ddcec71eeabf6cb5db85cbb4a3d12f59 100644 (file)
@@ -438,6 +438,9 @@ extern void gdb_print_host_address_1 (const void *addr, struct ui_file *stream);
 #define gdb_print_host_address(ADDR, STREAM) \
   gdb_print_host_address_1 ((const void *) ADDR, STREAM)
 
+/* Return the address only having significant bits.  */
+extern CORE_ADDR address_significant (gdbarch *gdbarch, CORE_ADDR addr);
+
 /* Convert CORE_ADDR to string in platform-specific manner.
    This is usually formatted similar to 0x%lx.  */
 extern const char *paddress (struct gdbarch *gdbarch, CORE_ADDR addr);
This page took 0.027874 seconds and 4 git commands to generate.