gdb not working properly in Cygwin

matthew patton
Thu Jan 21 23:01:50 GMT 2021

On Thursday, January 21, 2021, 05:29:27 PM EST, Tord Andreasson via Cygwin <> wrote:
 > I tried "strace -o /tmp/gdb.strace /usr/bin/gdb --version" and indeed there
>are lines with 37 error messages in it. Since the trace file is large (2MB)
$ Err_6.4.5.exe  0xC0000034 says:

  STATUS_OBJECT_NAME_NOT_FOUND                                   ntstatus.h# Object Name not found.# as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x34# for hex 0x34 / decimal 52  ERROR_DUP_NAME                                                 winerror.h# You were not connected because a duplicate name exists on# the network. If joining a domain, go to System in Control# Panel to change the computer name and try again. If joining# a workgroup, choose another workgroup name.

and Err_6.4.5.exe  0xC000003A syas:
  STATUS_OBJECT_PATH_NOT_FOUND                                   ntstatus.h# {Path Not Found}# The path %hs does not exist.# as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x3a# for hex 0x3a / decimal 58

You may very well need ScDebugProcess rights added to your Windows account.

More information about the Cygwin mailing list