Closed issue by camthesaxman on void-packages repository https://github.com/void-linux/void-packages/issues/44594 Description: ### Is this a new report? Yes ### System Info Void 6.1.25_1 x86_64 GenuineIntel uptodate hold rrrmFFFFFF ### Package(s) Affected cross-arm-none-eabi-gdb-12.1_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour The `arm-none-eabi-gdb` command should work correctly without warnings. ### Actual behaviour arm-none-eabi-gdb throws numerous warnings about Python modules not being found. Most debugging features still work, though there are annoying warnings with every command. The native x86-64 gdb does not exhibit this behavior, but the arm gdb does. Sample output from debugging an ARM kernel in qemu: ``` Python Exception : No module named '_gdbevents' arm-none-eabi-gdb: warning: Could not load the Python gdb module from `/usr/share/gdb/python'. Limited Python support is available from the _gdb module. Suggest passing --data-directory=/path/to/gdb/data-directory. GNU gdb (GDB) 12.1 Copyright (C) 2022 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 "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi". 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"... Reading symbols from kernel.elf... (gdb) target remote localhost:1234 Remote debugging using localhost:1234 Python Exception : Installation error: gdb._execute_unwinders function is missing 0x00008000 in bootstrap () (gdb) stepi Python Exception : Installation error: gdb._execute_unwinders function is missing Python Exception : Installation error: gdb._execute_unwinders function is missing 0x00008004 in bootstrap () (gdb) Python Exception : Installation error: gdb._execute_unwinders function is missing Python Exception : Installation error: gdb._execute_unwinders function is missing 0x00008008 in bootstrap () (gdb) q A debugging session is active. Inferior 1 [process 1] will be detached. Quit anyway? (y or n) y Detaching from program: /home/void/rpi-baremetal/kernel.elf, process 1 Ending remote debugging. ``` ### Steps to reproduce 1. Install cross-arm-none-eabi-gdb. 2. Run arm-none-eabi-gdb. 3. Run some commands in gdb and get spammed with Python errors.