mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* defs.h, gdbtk.c, main.c, top.c: Change sense and name of
no_windows variable. Now called use_windows, and defaults to off (for compatibility).
This commit is contained in:
parent
62fad389f2
commit
c51975113d
@ -1,3 +1,9 @@
|
||||
Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com)
|
||||
|
||||
* defs.h, gdbtk.c, main.c, top.c: Change sense and name of
|
||||
no_windows variable. Now called use_windows, and defaults to off
|
||||
(for compatibility).
|
||||
|
||||
Wed Oct 26 12:20:53 1994 Jim Kingdon <kingdon@cygnus.com>
|
||||
|
||||
* coffread.c (coff_symtab_read): If we get the address from
|
||||
|
@ -886,6 +886,6 @@ extern void (*call_command_hook) PARAMS ((struct cmd_list_element *c,
|
||||
|
||||
/* Inhibit window interface if non-zero. */
|
||||
|
||||
extern int no_windows;
|
||||
extern int use_windows;
|
||||
|
||||
#endif /* !defined (DEFS_H) */
|
||||
|
10
gdb/gdbtk.c
10
gdb/gdbtk.c
@ -551,10 +551,10 @@ gdbtk_init ()
|
||||
void
|
||||
_initialize_gdbtk ()
|
||||
{
|
||||
if (no_windows)
|
||||
return;
|
||||
if (use_windows)
|
||||
{
|
||||
/* Tell the rest of the world that Gdbtk is now set up. */
|
||||
|
||||
/* Tell the rest of the world that Gdbtk is now set up. */
|
||||
|
||||
init_ui_hook = gdbtk_init;
|
||||
init_ui_hook = gdbtk_init;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user