[PATCH 52/58] gdbserver: turn breakpoint kind-related target ops into methods

Pedro Alves palves@redhat.com
Thu Feb 13 20:29:00 GMT 2020


On 2/11/20 9:02 AM, Tankut Baris Aktemur wrote:
> +const gdb_byte *
> +lynx_process_target::sw_breakpoint_from_kind (int kind, int *size)
> +{
> +  error (_("Target does not implement the sw_breakpoint_from_kind op"));
> +  return nullptr;

The return statement is unreachable.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list