aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-05-01 12:35:20 -0600
committerTom Tromey <tromey@adacore.com>2019-05-08 10:38:02 -0600
commited2b7c1703246eef1ce6b393ced99fe267cbeb7b (patch)
treec45d0fb40fb4972dfba9ed4654bcab410db29810 /gdb/defs.h
parentb0be6c912f9e901a87740c72f18be1e54ad5267d (diff)
downloadgdb-ed2b7c1703246eef1ce6b393ced99fe267cbeb7b.zip
gdb-ed2b7c1703246eef1ce6b393ced99fe267cbeb7b.tar.gz
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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 5a1995b..e95d0d4 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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;