Hi, this was previously a part of the "[PATCH v5] Fix range end handling of inlined subroutines" but this change can be considered to be independent of the range end handling. It is sometimes the case that the entry_pc points at an empty sub-range, and therefore this change makes more sense when the range end handling (including empty sub-ranges) is applied first. Unfortunately I have no test case for it. This is similar to the "[PATCHv2] Fix partial symbols" https://sourceware.org/pipermail/gdb-patches/2020-December/174175.html Where I have no test case either, nevertheless I am sure it happens. Thanks Bernd.