X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9EEFB386F432 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=schaeffler.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lemkemch AT schaeffler DOT com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PRCB63+EKAqA6m1FfdvbS6e84+lOZDTNelzRS2gRlYOTElDEKrLwuymbWcZIS112aDfG0JWLOsDh06NYr5TUF1sOxg8sasul+4NaEW5+KWIwWp9KpNqRzl1hYAFCKUAPWUF5VNO1uECC1Z7IGTSWkDGStGFXUVhSgS1kgXAVWcDW8K4+OCltWrMg9o+5tmJxEGcaCfMN/X6ZqmaNvbyP6d/l2R4quzU19JgEFaxX0ojiy2ZxUYanak+a47Hk4KC36990XiSc7KPSUq5XwA8jOLig1mDJydYbuPje925B1aUSPWhkii+X5Ucyn2R3ivc5g5sFTTQ3Jxz7jeJpsckxCA== 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=4fcLVRlBQCB9E9pMu5AvNZIn3qFzPMPJr00dBL2vTqo=; b=IYCU/Om/Jmnkvyzw7T+29Avnz+IYREfySzFM/mAVJh+Hooh9Jw18qPT7UeuxOAzSGFq1U3llgVyBVWs78BMftXNxKebhJv7+yoJlEVa9VxhMZvRPT83Q2gDIAx5UOxYQl7VSl/13IfUAqBkllwgah6jls+Ppf5FNVBDCiXkgt2eURzB8Mn+OLP8KhOq2R+dHRAG30+EWDY2xp4ZaPrGZNLYDeFrTsE5UFx4GfnB3qi4OiwyS9FfWSfdj+kUF5P0qju5gAE9IYxOvyzpLL9tZuDWOGuycPJgOHPrQLU++tNGJzgiy5PqIl5fm7PwgaoqTgaVl1v34AF8I9WKqS63ozw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=schaeffler.com; dmarc=pass action=none header.from=schaeffler.com; dkim=pass header.d=schaeffler.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worksite.onmicrosoft.com; s=selector2-worksite-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4fcLVRlBQCB9E9pMu5AvNZIn3qFzPMPJr00dBL2vTqo=; b=rREcMMaRepiRlcgdf3yQeJt9Z4Ms4imZ85VwCDMPbIBWtSgWdrsg161hnaAlJTLmWe3VPIJblsczXP9V8b8o13U+t5NBRbG70V4R+QTyhBeKSHhLLzVYupsCw+KE4ho+QrMWg0mzrJwbFCH5PuyFeZgQTSVUlZuogn2YSM2kDJQ= From: "Lemke, Michael SF/HZA-ZIC2" To: "cygwin AT cygwin DOT com" Subject: RE: gdb not working Thread-Topic: gdb not working Thread-Index: AQHW7Zz8pg62ObhcoUmPvACL0NzPTaotYu3ggAAE/DA= Date: Mon, 18 Jan 2021 13:58:30 +0000 Message-ID: References: <2585ec4c-4711-8f75-4166-c9905bc42e50 AT cornell DOT edu> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=schaeffler.com; x-originating-ip: [199.247.40.30] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3bd2869d-154c-4054-35ec-08d8bbb922e1 x-ms-traffictypediagnostic: VI1PR03MB6336: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PDqCePzhl/3oXcUub1Rm90qC+TuaOsN+0eb+yCixB4DN2KEHAgCykuxH4K1E6sjICNVpGbYvkWOH1c0hJlgCJBu70Cru8Ajb1RTBWdyZFF+Kgkr0Qf11LSbxr7vqK71u2tFC5MFJqSjjJ+/O7RVdSJFtjy3BiL0dsjlFendS1Zx21gf7/Dtl9fxvO2CZUl0YoVq2vxTVJwUY9FJF/IMkNP+JRn2o+SGnvX1XkCE/GNJmFbC1O66GtmnK1Ms8KwowIO3QTTPhOLq4M+CQW3ZqCvpN2DAVp1zMbsb90hRrbVPF2ri832v38q3v72SOWnG+Rb15h9EqrkOM4szPNJ8ixJ/FP8NxrSFayKruN6qq/JkqbUxQUFZnwHZJUiRq2CSKZ/hBay4ts1dU3IDNXlFCuk0hx/kOUTJ5oPpOXmoyqZnaG+m1XKm3UKHU8FDb0Z6bLK6RC7vie9p0unWQvooG2a1k6L0i3hjr7k8D074vkItO8HXGRubOmfDqwGlBa3J4sQ2D3qS5JfOfmjXP54Gsk5LfgwvP1cU+s89b1Pnbo039B74vjNv7p7KFiHZ3+uwxHWsueeLFvieHc5Np4Tw2J0csTGqqMpqSh1A1Y+SloUo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR03MB6446.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(366004)(396003)(376002)(33656002)(83380400001)(2940100002)(26005)(6506007)(478600001)(53546011)(7696005)(3480700007)(2906002)(86362001)(8936002)(66446008)(5660300002)(186003)(316002)(9686003)(52536014)(7116003)(71200400001)(64756008)(6916009)(8676002)(66556008)(76116006)(66946007)(66476007)(55016002)(460985005)(2480315003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?ZXVaK1NiUHhoV3NMd3prSjYyMHNVWm1DajZ3OTN5VWtSemE3S3ZxcitMeGww?= =?utf-8?B?bkNkeGJncWQ1cklIOXFLM0FNZVlVSk02NE05NlRYQWdic0J4YllKYTM4MGUv?= =?utf-8?B?Rm1adXlleTB3NCtiM3AraTRzZzEycXNCQXR5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UGJKYWsyV3E1NkdrdVBCUGFYMWRZTE1Hbmgr?= =?utf-8?B?Nm5FRU1oZ3dQNklVYStYM29tQStJZW9HdENVSkIyVE9UUXkzRFVjZ1J5dVdH?= =?utf-8?B?OTQrWUl3eldmcjkyK0h4d2tFc1VQdVVhNFhDaW1kMzZNUkU1MWpOZFFyU0M1?= =?utf-8?B?N244MjZoeWMxaGtIcEt4aGZJSnc0bmdXN1A2L2tITXR5Sm9Zbk9hUG1RNHRU?= =?utf-8?B?aUhDWjVTMGkxOXZxOVIvZFIzenpGdk1KY1pzSjBHeGJnTHBTem5oWmVqaTJT?= =?utf-8?Q?6uFWO7l8SwZzg=3D?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR03MB6446.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bd2869d-154c-4054-35ec-08d8bbb922e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2021 13:58:30.0876 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 67416604-6509-4014-9859-45e709f53d3f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Hr351Mb81tG/v3NVqdEJJ9PFZGnp004ULEDSA19YRG4DQUsjanxipXzuuweLX3AZmxxI8+1kcVug0jfyMforJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR03MB6336 X-OriginatorOrg: schaeffler.com X-MailControlDKIMCheck: cGFzcyB3b3Jrc2l0ZS5vbm1pY3Jvc29mdC5jb20gW3Bhc3Nd X-MailControl-OutInfo: MTYxMDk3ODMxNDpGUEtleTEucHJpdjqA7rUuuqO2y2ZOXJ18BfUuX6Z6TNpy/I2m3Aq2tNc+brzLnxOLE2DRQeywTeIyEk4MTF9p7j/Y+SL1bbAbEcE0HCKErXitsZQ2ygf3UYxo1CpUm4NI1O3vfIUaUFl+IGNkQyIrx9eoyMpsPS/4/J0IrcC/FO3G+qnviO7Ug2ENIkaPhG6YljQQNbcsWZMV3GZWCNvazoaXKO7iJviSqnOR0J+BeIaTBJWXWNuQUqx50+2ashmRh0gbQfdDM58mky0LPwdsbpWjek1BoejOlaengH9luwvjzagkrfr8AHJ+r100Kui+cMqcjCH+g3yqaJ8B38+h7yaynRxPtHcY6Jl3 X-Scanned-By: MailControl 44278.2100 (www.mailcontrol.com) on 10.68.0.162 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham 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 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Monday, January 18, 2021 2:54 PM Lemke, Michael SF/HZA-ZIC2 wrote: >On Monday, January 18, 2021 2:23 PM Marco Atzeri wrote: >On 18.01.2021 14:08, 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. >>>>>> >> >>> >>>> Also ldd `which gdb` is >>>> fine. >>> >>> Please show the output. >> >> pc> ldd `which gdb` > >> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) >> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3f8840000) > >> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) > this is very low ^^^^ >> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3600000) > >> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3fc240000) >> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3600000) > > >I do not see duplicate entries on my system. it seems a BLODA >is interfering with dll's loading > It might very well be. I also noticed the output of ldd is not reproducible. It shows different duplicate entries when run repeatedly and the load address you marked is also a duplicate: pc> ldd `which gdb`|grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) pc> ldd `which gdb` | grep --color gcc cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0xa0000) Hm, is gdb dependent on gcc? I just noticed my gcc is apparently broken: pc> cygcheck -c gcc Cygwin Package Information Package Version Status pc> P.S.: pc> cygcheck -c gcc Cygwin Package Information Package Version Status pc> gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/10/lto-wrapper.exe Target: x86_64-pc-cygwin Configured with: /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0/configure --srcdir=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-10.2.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --with-gcc-major-version-only --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-l inker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.0 (GCC) And I can compile C programs. -- 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