X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 482C5388A43C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1610988787; bh=DlfUmxvhglLTl4ikFd/Xe4yo9nZ8dLBvnEWdlGZBdVs=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=vWI/C8D1+UWGP7lGIJRJZWmW0Gl4hUB69iprCB4taZk1Xra21+RoRcw/KeVAsXXS3 G8+Ers2cC4O+hIDaRL77D/6tINthvaMIhHb/W8zbFdsFbSvkF8hwEgRw+yYzBnuYxr hYvTtE6bet41tdddUlNP0CB9FXvb6cypXUqxXMn8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3323E384A023 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iyKUHYktv56/gMJBXGEeDAxbzi4a+0x0gykOFg70Kd47c2qOps4Ycv9Mzi7xGwHKfe8pmdqXjGEx585qevU3E23pqB1unj/RRTv83IqGkoAjbiMeWbAM5CGqKBqfpgut82VtcWpoh8/YTkxjXU2UIf3RhqKXgo0n7LYu4HJ1jKSKz1Ejl2gTkqGzd+EWOohID/2Ld0sc6AcNIq6hPNxDY3n/YSioZ/qUmuebMxUy3OrVCT0HImMAOBFtgldoMwaVFU2P4YuZEMDAqiVJhc+Z9ZYrIido9r4gENiukTZ6g54YhWkc26wxT+mvw0XIP/QEZJ2jv4OW/IHN92SLlurf9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0SQXHPHOC969XLtfwOxxYq8KZ0Cq+HwRPMUHwGAiPnM=; b=mtg/OdJ5S1T22bkaPX+BTVF1ae+tBi5PYU8yjPIe0z2WogQ3A/aNUvA/KVvrrQ7lwJUQEz8fvU0Xvk6dGZpcO5xdr3biJwlRbTx+Sh9ACY1z/BYg79l1xBoUBxoq53pgRyZePiU8dFTiyneh+4I7Jz+NBTstXmkGY5C+E7eqcxJ3Pbv385rJnsBswr/W8lhtF+7bwWeAYU5YN1rBh8G09fTmoAn44zXVr0Z9MIUjEtA03GAU8CSaWRBxZPjhVX62fXx9FWOzqcV75WyL9wkKE8gRorPS6ZU7Aj9jFvuK3vW8uPaLj19wpnJhEqVaV390YOSgNgMkDTkco3z/aEeZ/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Subject: Re: gdb not working To: cygwin References: <2585ec4c-4711-8f75-4166-c9905bc42e50 AT cornell DOT edu> Message-ID: Date: Mon, 18 Jan 2021 11:52:59 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 In-Reply-To: Content-Language: en-US X-Originating-IP: [65.112.130.200] X-ClientProxiedBy: BN6PR10CA0032.namprd10.prod.outlook.com (2603:10b6:404:109::18) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.13.22.4] (65.112.130.200) by BN6PR10CA0032.namprd10.prod.outlook.com (2603:10b6:404:109::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Mon, 18 Jan 2021 16:53:01 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62fb7674-d426-4d04-2276-08d8bbd1842e X-MS-TrafficTypeDiagnostic: BN7PR04MB3844: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2gWlMmdkMj/0vze/JACGhZFlgisokegzxrQQk1eysQeDcGU1fNDZcDTDisH2zR1TrBFCY7VE93LkrXghXlik2TD0KdBgPuEZNJrK6JzrCgPAGlG4xSW7OwpEXGzcYjzvc6zdADJJrYPbXrmTSEdpTSk9BzBxeOsZpLa/peR9bOu+dixABQ5VzNEVxb9rdHTT7D8fr8oHgEMQDxXsswOcc2qQ18ncUL3gYRJaePuzCbjAJqnb4SYOWPHyrdLvAioyO2n8QbwYLW4iLCdBydki5fBOLT989VECNnZG422XIVsnCA+wwg2z2Se3UBOBKht8+0bpm2BePzOEnfcP86sWteXqBWk5QCucO02r4Hw1pdZWHKKfxzzgWIhh0r5nepyjAF8mBUvTUUq76WXrVLUliiQXP3Nd6kIq57ZeaFE38lAlLBu3FiyxpRh9Ik5eouuiIQQD2h3Xyzt42MffS57YUo+qCs5/JtUHCDZJP6xbUee23sJXZD7TVXJZ+Lmog0Sg X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(366004)(396003)(376002)(136003)(83380400001)(66946007)(316002)(786003)(16526019)(16576012)(186003)(6486002)(53546011)(478600001)(19627235002)(26005)(52116002)(2616005)(3480700007)(2906002)(956004)(8676002)(86362001)(5660300002)(6916009)(7116003)(36756003)(31686004)(66476007)(66556008)(31696002)(8936002)(75432002)(43740500002)(45980500001)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?kyqiCBSV459lbkwY5zej0lK4HEHehcV2FEuorPiv0nUDetcOt8hJlCr2?= =?Windows-1252?Q?n+jDVmlIixZkuR9sR65H6tTCpQnXiD4/xEFvpdA90Az/GXrUTofmmbli?= =?Windows-1252?Q?MF40z7vl9z/7/mNDAPyAB2ep57cui+EtTsoVA3zXD87Ht2Phb0SN6lOw?= =?Windows-1252?Q?ZvujtsffU/scV/HrMKqgI/X5RyJkR1TpbgsgP3fnpla5Y8pDCxGthDIo?= =?Windows-1252?Q?Wc/hX+F53G3nUkg0eySYGlnEC2L4fPjPQGhuGsZgprhAtwAByG163JLi?= =?Windows-1252?Q?D03MrH5/d1D7/KVTwWMGVDCn19y321ZrTQngCjA8P2XAdqkjzJ5y8fqE?= =?Windows-1252?Q?96eDwuxypObjq2sR1k4UEVVCmQsjDe4ju7BQ127mHIsCcjopZ0wt5QxL?= =?Windows-1252?Q?nCo3ntXbhrUOHVaMYeDy1y3HVGiWBkzUFjchsDy5wcpTW0J8OHWbzaoC?= =?Windows-1252?Q?DFbMupA4gsiMY1KaRe+qtkxpSa/4vsQIJwSlbO8SvvjFxxXi8xtXJzvX?= =?Windows-1252?Q?jNgS1gcOHROunZrpyqVk2R4/6EA+aMsICIC8yxzCqqVKlswNiceIB0hF?= =?Windows-1252?Q?Bie21jqcCve+EZ4rO6uKwRU2S3j7FUND8cailgvT0vepGJgVIonmLKsS?= =?Windows-1252?Q?i0T7ZvgEaNAlle8Bmy6h+4xrEh5xe+L/vWnfGFEORtjsSE8jKXzZGGHR?= =?Windows-1252?Q?/WJZBokDRYC5GDa4rVHZw7IOW9PXbsdxJ7gWPo9b+A1JgrkjyMxuKDpu?= =?Windows-1252?Q?fZCzm/6OeNEfibRkTvTbhiS9EL/k+y6gV68AmRoUzKvsaseQDSAKlePY?= =?Windows-1252?Q?L7Nyfy6WXVjoVYds0wQ/Epz20yCZMzSZQRgJUiTN6zZu7DNMozsC4eNm?= =?Windows-1252?Q?7SpojQkrXSuThP9c77+4RQUG8ZJ2HOO8SwRTpvVOAMp4xGB2hdXNYsyQ?= =?Windows-1252?Q?TgwUfcRR4vRvcKUIpHOMH/CLLcGyQ+Sk7hYG50850vDCTnXYqGCVVOgA?= =?Windows-1252?Q?CDcmRWGdoYk/o25ojQEh2RcWwJLSCFw2jy2CiiSp1jb4s1UHmeGCN410?= =?Windows-1252?Q?adIhs2uHKqTfFaqc?= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 62fb7674-d426-4d04-2276-08d8bbd1842e X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2021 16:53:01.6158 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4cS+fWdViMhX8CZxsTmqiACe5OgyOunl/hQXD1K0ZygvCAbTijWdZhTWy1UH3661/SpkZOlyNkR79XjMJx2tbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR04MB3844 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" [Resending. Accidentally sent to OP instead of list.] On 1/18/2021 8:08 AM, Lemke, Michael SF/HZA-ZIC2 wrote: > 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 I was asking for the strace output. It might just show the same DLL loading issues that Marco noticed, or it might show something more. >> >>> 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 cygcheck doesn't check dependencies. But that doesn't appear to be the issue anyway. Ken -- 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