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

Jerome Guitton guitton@adacore.com
Thu Jun 29 12:51:00 GMT 2017


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!



More information about the Gdb-patches mailing list