Fix format specification in display_selector() (again)
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 28 Mar 2019 14:02:25 +0000 (14:02 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 28 Mar 2019 21:10:45 +0000 (17:10 -0400)
commite432ccf1cb4685b990f9cf10cb84626f52239806
tree0705c9204ad8f5fa39fc2cd95f86ba9d6aa65c08
parent077cad8ec1ca069d8981ecdbfa68c24b12597f67
Fix format specification in display_selector() (again)

DWORD type is not a long on 64-bit Cygwin, because that it is LP64.
Explicitly cast DWORD values to unsigned long and use an appropriate
format.

gdb/ChangeLog:

2019-03-28  Jon Turney  <jon.turney@dronecode.org.uk>

* windows-nat.c (display_selector): Fixed format specifications
for 64-bit Cygwin.
gdb/ChangeLog
gdb/windows-nat.c