gdb: move set remote commands to remote.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 22 Jan 2021 17:35:54 +0000 (12:35 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 22 Jan 2021 17:35:54 +0000 (12:35 -0500)
commitbaf2b57f18c8669ef3521888a2dee2a545214bcd
treee09b9e1ae0c96622a8bfcda5c3fac579f432df67
parent344e9841d989cb96316d8d487e004212d4d3090a
gdb: move set remote commands to remote.c

Commands "set debug remote" and "set remotetimeout" are defined in
cli/cli-cmds.c, I think it would make more sense for them to be in
remote.c.

gdb/ChangeLog:

* cli/cli-cmds.c (show_remote_debug): Remove.
(show_remote_timeout): Remove.
(_initialize_cli_cmds): Don't register commands.
* remote.c (show_remote_debug): Move here.
(show_remote_timeout): Move here.
(_initialize_remote): Register commands.

Change-Id: Ic4d81888aa4f8dde89d1d29397ef19a08951b80b
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/remote.c