Re: [PATCH 7/7] Cygwin: remove miscellaneous 32-bit code

2022-05-29 Thread Ken Brown
On 5/29/2022 9:39 AM, Jon Turney wrote: On 26/05/2022 20:17, Ken Brown wrote:   winsup/cygwin/autoload.cc    | 136 --- Looks good. I think that perhaps the stdcall decoration number n is unused on x86_64, so can be removed also in a followup? Thanks, I

[PATCH] Cygwin: Set threadnames with SetThreadDescription()

2022-05-29 Thread Jon Turney
gdb master recently learnt how to use GetThreadDescription() [1], so set threadnames using SetThreadDescription() [available since Windows 101607] as well. This is superior to using a special exception to indicate the thread name to the debugger, because the thread name isn't missed if you don't

Re: [PATCH 7/7] Cygwin: remove miscellaneous 32-bit code

2022-05-29 Thread Jon Turney
On 26/05/2022 20:17, Ken Brown wrote: winsup/cygwin/autoload.cc| 136 --- Looks good. I think that perhaps the stdcall decoration number n is unused on x86_64, so can be removed also in a followup?

Re: [PATCH 4/7] Cygwin: remove some 32-bit only path conversion functions

2022-05-29 Thread Jon Turney
On 26/05/2022 20:17, Ken Brown wrote: Patch attached. If it were me writing this, perhaps I would add something in the cygwin API documentation near the modern replacements, saying "The obsolete functions XYZ only existed for x86 Cygwin and have been removed.". But perhaps that's not