Move "watchdog" to remote.c
authorTom Tromey <tromey@adacore.com>
Wed, 1 May 2019 18:35:20 +0000 (12:35 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 8 May 2019 16:38:02 +0000 (10:38 -0600)
commited2b7c1703246eef1ce6b393ced99fe267cbeb7b
treec45d0fb40fb4972dfba9ed4654bcab410db29810
parentb0be6c912f9e901a87740c72f18be1e54ad5267d
Move "watchdog" to remote.c

The "watchdog" global is only used in remote.c, so this patch moves it
there and makes it static.

gdb/ChangeLog
2019-05-08  Tom Tromey  <tromey@adacore.com>

* maint.c (_initialize_maint_cmds): Move initialization code to
remote.c.
(watchdog, show_watchdog): Move to remote.c.
* remote.c (watchdog, show_watchdog): Move from maint.c.  Make
"watchdog" static.
(_initialize_remote): Move initialization code from maint.c.
* defs.h (watchdog): Don't declare.
gdb/ChangeLog
gdb/defs.h
gdb/maint.c
gdb/remote.c
This page took 0.02576 seconds and 4 git commands to generate.