On Friday, January 15, 2021 9:02 PM Ken Brown wrote: >On 1/15/2021 1:47 PM, Lemke, Michael SF/HZA-ZIC2 wrote: >> On Friday, January 15, 2021 4:45 PM Jon Turney wrote: >>> On 15/01/2021 12:28, Lemke, Michael wrote: >>>> I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. >>>> However, gdb does not produce any output. >>>> >>>> Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer doesn't. >>>> Any ideas why? >>> [...] >>> >>>> Install gdb 7.12.1-2 >>>> pc> gdb -v >>>> Install gdb 8.0.1-1 >>>> pc> gdb -v >>>> pc> cygcheck -c gdb >>>> Cygwin Package Information >>>> Package Version Status >>>> gdb 8.0.1-1 OK >>> >>> You might try 'strace gdb' and see if that sheds any light on what's >>> failing. >> >> I tried that but I couldn't see anything strange. > >No error code? Please show the output.
pc> gdb -v pc> echo $? 0 > >> Also ldd `which gdb` is >> fine. > >Please show the output. pc> ldd `which gdb` ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7fffde2c0000) KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7fffdce40000) KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7fffdb570000) cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x3fe900000) cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3fc1b0000) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fe770000) cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) cygmpfr-6.dll => /usr/bin/cygmpfr-6.dll (0x3f9db0000) cyglzma-5.dll => /usr/bin/cyglzma-5.dll (0x3fa160000) libpython3.6m.dll => /usr/bin/libpython3.6m.dll (0x3f78d0000) cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x3fbd70000) cygreadline7.dll => /usr/bin/cygreadline7.dll (0x3f90d0000) cygz.dll => /usr/bin/cygz.dll (0x3f7e10000) cygsource-highlight-4.dll => /usr/bin/cygsource-highlight-4.dll (0x3f8c70000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3f8840000) cyggmp-10.dll => /usr/bin/cyggmp-10.dll (0x3fd8e0000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3600000) cygboost_regex-1_66.dll => /usr/bin/cygboost_regex-1_66.dll (0x3ff520000) cygicui18n61.dll => /usr/bin/cygicui18n61.dll (0x3fc3e0000) cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3fc240000) cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3600000) cygicudata61.dll => /usr/bin/cygicudata61.dll (0x3fa3c0000) > >> I tried the cygcheck Marco Atzeri suggested. I am not comfortable to send >> the result to the list but I checked it. > >Can you remove the sensitive parts and then send it? It's hard for anyone on >the list to help you if you don't provide information about your installation. I'll see what I can do. > >> As a result I cleaned up my path to just /bin which removed some duplicate >> entries in cygcheck.out but gdb still doesn't work. >> >> The only strange part I see in cygcheck.out is a slight mess up with my >> installation, a result of my moving /c/cygwin64 to /c/mystuff/ncygwin64 >> after my first run of setup.exe, see below. So what has changed between >> gdb 7.10.1-1 and gdb 7.12.1-2? > >Dependencies may have changed. Have you checked that you have all >dependencies >of whatever version you're trying to run? Just re-running setup should take >care of that if that's the problem. I've always installed every version with setup so the dependencies should have been taken care of. And pc> cygcheck -c gdb Cygwin Package Information Package Version Status gdb 9.2-1 OK And one more: pc> gdb -v >& blah pc> cat blah pc> i.e. empty file blah. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple