From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id S7NOH6JmBGemUAUAWB0awg (envelope-from ) for ; Mon, 07 Oct 2024 18:54:26 -0400 Received: by simark.ca (Postfix, from userid 112) id 6314D1E05C; Mon, 7 Oct 2024 18:54:26 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.7 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 5B7991E05C for ; Mon, 7 Oct 2024 18:54:25 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D2ED93858283 for ; Mon, 7 Oct 2024 22:54:24 +0000 (GMT) Received: from zmcc-3-mx.zmailcloud.com (zmcc-3-mx.zmailcloud.com [34.200.143.36]) by sourceware.org (Postfix) with ESMTPS id 42B9B3858283 for ; Mon, 7 Oct 2024 22:53:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 42B9B3858283 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=symas.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=symas.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 42B9B3858283 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=34.200.143.36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728341636; cv=none; b=D1W4dpdxxUvE7zI7j3U5Sz/E39AvUNmgfgKe4VaAZxqvhZM/CqP0r3VwwW855STP8EghPNXuFfw/+3r2MjTK2oeAdpDvNlEJr8MLh6aArpRgQLrm3hdykjeUlyU56EcjyPu6/5hAPnDO4ELOG9sXqpPMgWFu27gm44yBi4FOuZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728341636; c=relaxed/simple; bh=vlxokohqjAhwtyUvzA1lnkhimHfw/+O9v1Yw+bXBf3c=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=bBR462Hppt6tPT/JyVDWdCXsS0vxmjl+WTrpFL+dLy2c21E8LQ39VBBX8nGUq7LDKnXtlQCmENiFuYtGK0Ac7yJkmZJsyUcBMRppYh9xYqyUOR+ZfnUVab1ZvA0lxBCc5buI0+BeOflD4pmsIaaPmIty/RiX3P+fSipY/inTNTY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from zmcc-3.zmailcloud.com (ec2-3-15-255-223.us-east-2.compute.amazonaws.com [3.15.255.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zmcc-3-mx.zmailcloud.com (Postfix) with ESMTPS id 0A4D4D800F20 for ; Mon, 07 Oct 2024 17:53:54 -0500 (CDT) Received: from zmcc-3.zmailcloud.com (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTPS id D808EA00E332 for ; Mon, 7 Oct 2024 17:53:53 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id C976DA00E334 for ; Mon, 7 Oct 2024 17:53:53 -0500 (CDT) Received: from zmcc-3.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-3-mta-1.zmailcloud.com [127.0.0.1]) (amavis, port 10026) with ESMTP id 7b9whc6_-056 for ; Mon, 7 Oct 2024 17:53:53 -0500 (CDT) Received: from zmcc-3-mailbox-1.zmailcloud.com (zmcc-3-mailbox-1.zmailcloud.com [172.31.18.168]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id B6184A00E332 for ; Mon, 7 Oct 2024 17:53:53 -0500 (CDT) From: Robert Dubner To: Subject: no attribute '_handle_missing_debuginfo' Thread-Topic: no attribute '_handle_missing_debuginfo' Date: Mon, 7 Oct 2024 17:53:53 -0500 (CDT) Message-ID: <03e201db190b$c95f1cf0$5c1d56d0$@symas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 X-Mailer: Zimbra 9.0.0_GA_4653 (Zimbra-ZCO/9.0.0.1942 (10.0.22631 en-US) P1ce8 T4178 R3466) Thread-Index: AdsZCDQfQOb4LwMnSte5jFZQRLjEeA== Content-Language: en-us X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" I admit defeat, and I throw myself on the mercy of the court. I really tried. I searched the internet. I spent some time digging through the GDB source code. But I have been thwarted by the sheer number of moving parts. One line background as to why I am compiling GDB: I am part of an effort to build a COBOL front end for GCC, and I am making modifications to GDB to handle the idiosyncracies of COBOL executables. That said: When I compile and run GDB, I am getting the following announcement on stderr: === Python Exception : module 'gdb' has no attribute '_handle_missing_debuginfo' === I believe in my heart that this has to have a simple cause, and I believe that somewhere there is a switch that can be moved from "broken" to "fixed" and the message will go away. But I haven't been able to find it. I hope some kind soul can embarrass me with a fix. Go ahead. I can take it. Thanks! I just now built and compiled the GDB master branch 3f30f11f6d5, which was committed on 2024-10-07 bob@doobie:~/repos/gdb-cobol/gcobol$ GDB --configuration This GDB was configured as follows: configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=/usr/share/gdb --with-jit-reader-dir=/usr/lib/gdb --without-libunwind-ia64 --with-lzma --with-babeltrace --with-intel-pt --with-xxhash --with-python=/usr --with-python-libdir=/usr/lib --with-debuginfod --with-curses --without-guile --without-amd-dbgapi --enable-source-highlight --enable-threading --enable-tui --without-system-readline --with-separate-debug-dir=/usr/lib/debug --with-system-gdbinit=/etc/gdb/gdbinit --with-system-gdbinit-dir=/etc/gdb/gdbinit.d bob@doobie:~/repos/gdb-cobol/gcobol$ GDB --version GNU gdb (GDB-COBOL 14.0.7 (debuggable)) 16.0.50.20241007-git bob@doobie:~/repos/gdb-cobol/gcobol$ GDB -q (gdb) python >print(sys.version) >end 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (gdb) file ctest Reading symbols from ctest... (gdb) start Temporary breakpoint 1 at 0x122a: file ctest.c, line 19. Starting program: /home/bob/repos/gdb-cobol/gcobol/ctest Python Exception : module 'gdb' has no attribute '_handle_missing_debuginfo' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe328) at ctest.c:19