aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-01-14 05:27:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-01-14 05:27:48 +0000
commita588db63bd94f9c8d43bd33a1dd399ea3bbc8c5b (patch)
tree87685f9b79d63ae3ed4a8112a2a0ae559a47b5b6 /gdb/windows-nat.c
parentabf71725787681a703e07ca8ef5069ee4e51e155 (diff)
downloadgdb-a588db63bd94f9c8d43bd33a1dd399ea3bbc8c5b.zip
gdb-a588db63bd94f9c8d43bd33a1dd399ea3bbc8c5b.tar.gz
gdb-a588db63bd94f9c8d43bd33a1dd399ea3bbc8c5b.tar.bz2
* windows-nat.c (handle_unload_dll): Use %p to print the DLL
base address instead of casting it to DWORD.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 724c18f..7e43f87 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -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;
}