mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Added a scope-level around the contents of an #ifdef in
gdbtk_cleanup() so that the variable declarations in there would not be illegal in a C compilation.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Thu Aug 13 15:09:59 1998 Drew Moseley <dmoseley@cygnus.com>
|
||||||
|
|
||||||
|
* gdbtk.c (gdbtk_cleanup): added a scope-level around the contents
|
||||||
|
of the #ifdef so that the variable declarations in there would not
|
||||||
|
be illegal in a C compilation.
|
||||||
|
|
||||||
Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
|
Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
|
||||||
|
|
||||||
* gdbtk.c (gdbtk_call_command): Removed because it is now
|
* gdbtk.c (gdbtk_call_command): Removed because it is now
|
||||||
|
@ -298,8 +298,10 @@ gdbtk_cleanup (dummy)
|
|||||||
{
|
{
|
||||||
Tcl_Eval (gdbtk_interp, "gdbtk_cleanup");
|
Tcl_Eval (gdbtk_interp, "gdbtk_cleanup");
|
||||||
#ifdef IDE
|
#ifdef IDE
|
||||||
struct ide_event_handle *h = (struct ide_event_handle *) dummy;
|
{
|
||||||
ide_interface_deregister_all (h);
|
struct ide_event_handle *h = (struct ide_event_handle *) dummy;
|
||||||
|
ide_interface_deregister_all (h);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
Tcl_Finalize ();
|
Tcl_Finalize ();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user