[Bug:cli] Loading user-defined function generates an internal error

Vladimir Prus vladimir@codesourcery.com
Thu Dec 31 06:27:00 GMT 2009


Nick Roberts wrote:

>  > > If the user-defined function below is put in a file user.cmd, say, then in
>  > > internal error is generated upon loading it:
>  > 
>  > I can reproduce too. Have you tried debugging the problem?
> 
> It's due to this change:
> 
> 2009-11-18  Vladimir Prus  <vladimir@codesourcery.com>
> 
> * cli/cli-script.c (process_next_line): Recognize 'end'
> even when the line has leading space and we're not parsing
> commands.

Do you happen to know what is wrong, exactly? Unfortunately, I won't
be able to address this until Jan 11, so if you don't have the time
to investigate further, I suggest you open an issue in bugzilla.

Thanks,
Volodya




More information about the Gdb mailing list