Promote windows_core_xfer_shared_libraries and windows_core_pid_to_str
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 30 Jun 2020 15:52:41 +0000 (16:52 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 18 Sep 2020 16:12:11 +0000 (17:12 +0100)
commit62a5151b6b47d9e31bc49599b3f83803421d5819
treed53ca3b505042f8c6c69ee8a7d94ba041c241ec5
parentaff9d38745f734f3c0b162f6da39b8b9b5d1f81c
Promote windows_core_xfer_shared_libraries and windows_core_pid_to_str

Move windows_core_xfer_shared_libraries() and windows_core_pid_to_str()
to windows-tdep, and use in amd64-windows-tdep.c to handle Cygwin x86_64
core dumps.

v2:
Keep _initialize function at the bottom of the file.

gdb/ChangeLog:

2020-07-01  Jon Turney  <jon.turney@dronecode.org.uk>

* windows-tdep.h: Add prototypes.
* i386-windows-tdep.c(windows_core_xfer_shared_libraries): Move.
(i386_windows_core_pid_to_str): Move and rename ...
* windows-tdep.c (windows_core_xfer_shared_libraries): ... to here
(windows_core_pid_to_str): ... and here.
* amd64-windows-tdep.c (amd64_windows_init_abi_common): Register here.
gdb/ChangeLog
gdb/amd64-windows-tdep.c
gdb/i386-windows-tdep.c
gdb/windows-tdep.c
gdb/windows-tdep.h
This page took 0.028128 seconds and 4 git commands to generate.