[PATCH v2 2/4] Introduce frame_info_ptr smart pointer class

Tom Tromey tom@tromey.com
Sat Jul 9 03:26:00 GMT 2022


>>>>> "Bruno" == Bruno Larsen <blarsen@redhat.com> writes:

Bruno> +  /* The underlying pointer.  */
Bruno> +  frame_info *m_ptr;
Bruno> +  /* Point to next and previous items in the circular list.  */
Bruno> +  frame_info_ptr *m_next;
Bruno> +  frame_info_ptr *m_prev;

The reason I didn't resubmit this is that there was a request to make
this use some pre-existing template class, and my attempts to do that
failed.  I think the WIP is in my github, but if not I can push it.
Anyway I don't think this can go in as is.

Tom


More information about the Gdb-patches mailing list