Hi! On Tue, Nov 12, 2019 at 10:28:33AM +0000, Maxim Blinov wrote: > I have an `rtx_insn`, and would like to view the Nth insn in that > list. From the debugger, I can do > > (gdb) p debug_rtx (NEXT_INSN (first)) > (gdb) p debug_rtx (NEXT_INSN (NEXT_INSN (first))) > > and so on. Is there a macro I can use to get the Nth insn? E.g. > > (gdb) p debug_rtx (NTH_INSN (first, 2)) It's not exactly the same, but debug_rtx_list (prl in our gdbinit) might help you? Segher