mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2020-01-28 Hannes Domani <ssbssa@yahoo.de>
|
||||
|
||||
* server.c (handle_qxfer_libraries): Write segment-address with
|
||||
paddress.
|
||||
|
||||
2020-01-24 Hannes Domani <ssbssa@yahoo.de>
|
||||
|
||||
* Makefile.in (install-strip): New target.
|
||||
|
@ -1548,8 +1548,8 @@ handle_qxfer_libraries (const char *annex,
|
||||
|
||||
for (const dll_info &dll : all_dlls)
|
||||
document += string_printf
|
||||
(" <library name=\"%s\"><segment address=\"0x%lx\"/></library>\n",
|
||||
dll.name.c_str (), (long) dll.base_addr);
|
||||
(" <library name=\"%s\"><segment address=\"0x%s\"/></library>\n",
|
||||
dll.name.c_str (), paddress (dll.base_addr));
|
||||
|
||||
document += "</library-list>\n";
|
||||
|
||||
|
Reference in New Issue
Block a user