This problem does not occur, when manually using ld.lld, It does occur with xc32-ld.
Neither does it occur when building the file using clang: clang -c -target mipsel-unknown -mno-abicalls -gdwarf-2 simple_main.c /opt/microchip/xc32/v4.50/bin/xc32-ld simple_main.o Mixing a file build with clang and GCC results in the file build with GCC, exhibiting this behaviour, while investigating in GDB. (Linking them together with xc32-ld) Stripping the ".debug_aranges" section, allows for proper display: /opt/microchip/xc32/v4.50/bin/xc32-objcopy --remove-section .debug_aranges simple_main.o simple_main_trunc.o -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2106811 Title: Line info missing on multiarch build with MIPS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/2106811/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs