From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4C973858D29; Sat, 28 Aug 2021 20:47:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4C973858D29 From: "vincent at bernat dot im" To: gdb-prs@sourceware.org Subject: [Bug gdb/26876] gdb error: internal-error: Unknown CFA rule when debugging the linux kernel with qemu Date: Sat, 28 Aug 2021 20:47:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent at bernat dot im X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2021 20:47:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26876 Vincent Bernat changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent at bernat dot im --- Comment #15 from Vincent Bernat --- I am running into the same bug with 10.2. I am running gdb from Nix: ``` gdb$ show version GNU gdb (GDB) 10.2 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". gdb$ show configuration This GDB was configured as follows: configure --host=3Dx86_64-unknown-linux-gnu --target=3Dx86_64-unknown-li= nux-gnu --with-auto-load-dir=3D$debugdir:$datadir/auto-load =20=20=20=20=20=20=20=20=20=20=20=20 --with-auto-load-safe-path=3D$debugdir:$datadir/auto-load:/nix/store/0kiyky= rnrpfhmjwxwx89kxr20hmf5304-gcc-10.3.0-lib --with-expat =20=20=20=20=20=20=20=20=20=20=20=20 --with-gdb-datadir=3D/nix/store/wx014fbhv8ssxbn076skz4rwn55qcgpd-gdb-10.2/s= hare/gdb (relocatable) =20=20=20=20=20=20=20=20=20=20=20=20 --with-jit-reader-dir=3D/nix/store/wx014fbhv8ssxbn076skz4rwn55qcgpd-gdb-10.= 2/lib/gdb (relocatable) --without-libunwind-ia64 --without-lzma --without-babeltrace --with-intel-pt --with-mpfr --without-xxhash =20=20=20=20=20=20=20=20=20=20=20=20 --with-python=3D/nix/store/nki9ywqzbvz68vr75kn2r7g1q84f5agy-python3-3.9.6 =20=20=20=20=20=20=20=20=20=20=20=20 --with-python-libdir=3D/nix/store/nki9ywqzbvz68vr75kn2r7g1q84f5agy-python3-= 3.9.6/lib --without-debuginfod --without-guile --disable-source-highlight =20=20=20=20=20=20=20=20=20=20=20=20 --with-separate-debug-dir=3D/nix/store/wx014fbhv8ssxbn076skz4rwn55qcgpd-gdb= -10.2/lib/debug (relocatable) ("Relocatable" means the directory can be moved with the GDB installation tree, and GDB will still find it.) ``` And I am running QEMU 6.1: ``` 22:46 =E2=9D=B1 qemu-system-x86_64 --version QEMU emulator version 6.1.0 (Debian 1:6.1+dfsg-1) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers ``` Also when running `lx-symbols`: ``` gdb$ lx-symbols loading vmlinux ../../gdb/dwarf2/frame.c:1085: internal-error: Unknown CFA rule. A problem internal to GDB has been detected, ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=