Fix library segment-address for 64bit values
authorHannes Domani <ssbssa@yahoo.de>
Tue, 28 Jan 2020 17:24:31 +0000 (18:24 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Tue, 28 Jan 2020 19:01:02 +0000 (20:01 +0100)
commita2236a08440996fe2adb5f9b61926db9a9e8c8c3
tree54e734f99e3a84889baf06f0fc46fe7aff323848
parent55be8fd0d23c128effffe5784332a6ab92978cf1
Fix library segment-address for 64bit values

The address was written as a long value, but long is always a 32bit value
on Windows, which lead to truncated addresses.
The solution was to use paddress instead.

gdb/gdbserver/ChangeLog:

2020-01-28  Hannes Domani  <ssbssa@yahoo.de>

* server.c (handle_qxfer_libraries): Write segment-address with
paddress.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c