* windows-nat.c (handle_unload_dll): Use %p to print the DLL
authorJoel Brobecker <brobecker@gnat.com>
Wed, 14 Jan 2009 05:27:48 +0000 (05:27 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 14 Jan 2009 05:27:48 +0000 (05:27 +0000)
        base address instead of casting it to DWORD.

gdb/ChangeLog
gdb/windows-nat.c

index c8d7190..f9c0dc9 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (handle_unload_dll): Use %p to print the DLL
+       base address instead of casting it to DWORD.
+
 2009-01-13  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
index 724c18f..7e43f87 100644 (file)
@@ -761,7 +761,7 @@ handle_unload_dll (void *dummy)
        return 1;
       }
 
-  error (_("Error: dll starting at 0x%lx not found."), (DWORD) lpBaseOfDll);
+  error (_("Error: dll starting at %p not found."), lpBaseOfDll);
 
   return 0;
 }