[PATCH] Add declarations to gdbtk.h

Keith Seitz keiths@redhat.com
Thu Oct 10 00:20:00 GMT 2019


On 10/7/19 2:09 PM, Christian Biesinger via insight wrote:
> From: Christian Biesinger <cbiesinger@chromium.org>
> 
> Currently, gdb/main.c has to declare these two variables in the
> .c file. This patch adds the declarations to the header so that
> gdb can just use them.
> 
> gdbtk/ChangeLog:
> 
> 2019-10-07  Christian Biesinger  <cbiesinger@chromium.org>
> 
> 	* generic/gdbtk.h (gdbtk_test): Declare.
>   (external_editor_command): Declare.
>   (file): Prefix Tcl_Interp with "struct"
>   so that this compiles when Tcl headers aren't included.
>   * generic/gdbtk-interp.h:  Likewise.

That looks okay to me. Thank you for thinking of us!

Keith



More information about the Insight mailing list