]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/utils.c
import gdb-1999-09-08 snapshot
[thirdparty/binutils-gdb.git] / gdb / utils.c
index ccb4489a36cb8cd4fdecef844ec0acf931b8388c..bd42ee2cd3ef22b6d8bf01e5b30601133ac25acb 100644 (file)
@@ -996,9 +996,7 @@ print_spaces (n, file)
 /* Print a host address.  */
 
 void
-gdb_print_address (addr, stream)
-     PTR addr;
-     GDB_FILE *stream;
+gdb_print_host_address (void *addr, struct gdb_file *stream)
 {
 
   /* We could use the %p conversion specifier to fprintf if we had any
@@ -3200,6 +3198,13 @@ get_cell ()
 
  */
 
+int
+strlen_paddr (void)
+{
+  return (TARGET_PTR_BIT / 8 * 2);
+}
+
+
 /* eliminate warning from compiler on 32-bit systems */
 static int thirty_two = 32;