[PATCH v2 13/14] gdb: make displaced stepping implementation capable of managing multiple buffers

Pedro Alves pedro@palves.net
Fri Dec 4 01:51:00 GMT 2020


On 12/2/20 3:48 PM, Simon Marchi via Gdb-patches wrote:

>    /* Save this, now that we know everything went fine.  */
> -  m_copy_insn_closure = std::move (copy_insn_closure);
> +  buffer->copy_insn_closure = std::move (copy_insn_closure);
>  
> -  /* Tell GDB not to try preparing a displaced step again for this inferior.  */
> +  /* Tell GDB not to try preparing a displaced step again for this inferior if
> +     all buffers are taken.  */

Another spot where "Tell GDB" -> "Tell infrun" would make sense, IMO.

Anyhow, OK.


More information about the Gdb-patches mailing list