2007-06-13 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / gdb / solib.c
index d260c12ce782de894525d39409a6ff0e480836d7..4cdb3a532ccd3f73e5cc731fcb26e654c1aaacfa 100644 (file)
@@ -725,7 +725,7 @@ info_sharedlibrary_command (char *ignore, int from_tty)
   int addr_width;
 
   /* "0x", a little whitespace, and two hex digits per byte of pointers.  */
-  addr_width = 4 + (TARGET_PTR_BIT / 4);
+  addr_width = 4 + (gdbarch_ptr_bit (current_gdbarch) / 4);
 
   update_solib_list (from_tty, 0);
 
This page took 0.024815 seconds and 4 git commands to generate.