aboutsummaryrefslogtreecommitdiff
path: root/mkdep
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2023-05-22 18:17:54 +0100
committerPedro Alves <pedro@palves.net>2024-05-10 11:26:00 +0100
commit41f9f2d609d128d6fc1414ad5c0dbcb74b019183 (patch)
tree503c924cb43f15ea3d21c21bb776fab516dc45dd /mkdep
parent0c6b04823623a6bd121f8c4b80087fe204742b0b (diff)
downloadgdb-41f9f2d609d128d6fc1414ad5c0dbcb74b019183.zip
gdb-41f9f2d609d128d6fc1414ad5c0dbcb74b019183.tar.gz
gdb-41f9f2d609d128d6fc1414ad5c0dbcb74b019183.tar.bz2
Add backpointer from windows_thread_info to windows_process_info
The next patch will move some duplicated code in gdb and gdbserver to gdb/nat/windows-nat.c, where it would be convenient to get at the Windows process info of a given Windows thread info, from within a windows_thread_info method. I first thought of passing down the windows_process_info pointer as argument to the windows_thread_info method, but that looked a bit odd. I think it looks better to just add a back pointer, so that's what this patch does. The following patch will then add a use of it. I suspect this will help moving more duplicated code to gdb/nat/windows-nat.c in the future, too. Change-Id: I47fc0d3323be5b6f6fcfe912b768051a41910666
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions