mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
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
This commit is contained in:
@ -2473,9 +2473,6 @@ extern gdb::optional<gdb::char_vector> target_get_osdata (const char *type);
|
||||
|
||||
/* Stuff that should be shared among the various remote targets. */
|
||||
|
||||
/* Debugging level. 0 is off, and non-zero values mean to print some debug
|
||||
information (higher values, more information). */
|
||||
extern int remote_debug;
|
||||
|
||||
/* Timeout limit for response from target. */
|
||||
extern int remote_timeout;
|
||||
|
Reference in New Issue
Block a user