From: Joel Brobecker Date: Wed, 14 Jan 2009 05:27:48 +0000 (+0000) Subject: * windows-nat.c (handle_unload_dll): Use %p to print the DLL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a588db63bd94f9c8d43bd33a1dd399ea3bbc8c5b;p=binutils-gdb.git * windows-nat.c (handle_unload_dll): Use %p to print the DLL base address instead of casting it to DWORD. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8d71903b2b..f9c0dc903a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Joel Brobecker + + * 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 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 724c18f9d62..7e43f87e521 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; }