Re: [PATCH] PR cli/21688: Fix multi-line/inline command differentiation

Jerome Guitton
2017-06-29T12:51:07Z

Sergio Durigan Junior (sergiodj@redhat.com):

> The problem happens because, on cli/cli-script.c:process_next_line,
> GDB is not using the command line string to identify which command to
> run, but it instead using the 'struct cmd_list_element *' that is
> obtained by using the mentioned string. The problem with that is that
> the 'struct cmd_list_element *' doesn't have any information on
> whether the command issued by the user is a multi-line or inline one.

Indeed. Thank you for catching this bug!