diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-01-22 12:39:08 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-01-22 12:39:08 -0500 |
commit | cda09ec9f9cbebef06345a5fb768f347267b3d73 (patch) | |
tree | b6edea162ae49154dc354e1be8c69a41467d693b /gdb/top.c | |
parent | baf2b57f18c8669ef3521888a2dee2a545214bcd (diff) | |
download | gdb-cda09ec9f9cbebef06345a5fb768f347267b3d73.zip gdb-cda09ec9f9cbebef06345a5fb768f347267b3d73.tar.gz gdb-cda09ec9f9cbebef06345a5fb768f347267b3d73.tar.bz2 |
gdb: move remote_debug to remote.{h,c}
remote_debug is currently declared in target.h and defined in top.c.
Move them to remote.h and remote.c.
Include remote.h in remote-sim.c, as it uses remote_debug.
gdb/ChangeLog:
* target.h (remote_debug): Move to...
* remote.h (remote_debug): ... here.
* top.c (remote_debug): Move to...
* remote.c (remote_debug): ... here.
* remote-sim.c: Include remote.h.
Change-Id: Iae632d12ff8900b23eee6b2529d6a3cd339a8caa
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -198,10 +198,6 @@ bool server_command; int remote_timeout = 2; -/* Non-zero tells remote* modules to output debugging info. */ - -int remote_debug = 0; - /* Sbrk location on entry to main. Used for statistics only. */ #ifdef HAVE_USEFUL_SBRK char *lim_at_start; |