diff options
author | Tom Tromey <tromey@adacore.com> | 2019-05-01 12:35:20 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-05-08 10:38:02 -0600 |
commit | ed2b7c1703246eef1ce6b393ced99fe267cbeb7b (patch) | |
tree | c45d0fb40fb4972dfba9ed4654bcab410db29810 /gdb/defs.h | |
parent | b0be6c912f9e901a87740c72f18be1e54ad5267d (diff) | |
download | fsf-binutils-gdb-ed2b7c1703246eef1ce6b393ced99fe267cbeb7b.zip fsf-binutils-gdb-ed2b7c1703246eef1ce6b393ced99fe267cbeb7b.tar.gz fsf-binutils-gdb-ed2b7c1703246eef1ce6b393ced99fe267cbeb7b.tar.bz2 |
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -578,10 +578,6 @@ extern void copy_integer_to_size (gdb_byte *dest, int dest_size, const gdb_byte *source, int source_size, bool is_signed, enum bfd_endian byte_order); -/* From valops.c */ - -extern int watchdog; - /* Hooks for alternate command interfaces. */ struct target_waitstatus; |