[Converted from Gnats 1311] There are many cases where get_frame_address_in_block (which handles the end-of-function edge case) should be used instead of get_frame_pc. For instance, get_frame_func should use address_in_block since it needs to find this, and not the adjacent, frame's function. (I'm posting a patch for that one but I bet there are many many other cases of the same problem) Release: unknown
I also found an indirect case with the same bug, see https://sourceware.org/pipermail/gdb-patches/2023-August/201262.html No test case but the idea is that using the Python Frame.pc can trigger this same problem.