aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-01-22 12:39:08 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-01-22 12:39:08 -0500
commitcda09ec9f9cbebef06345a5fb768f347267b3d73 (patch)
treeb6edea162ae49154dc354e1be8c69a41467d693b /gdb/remote-sim.c
parentbaf2b57f18c8669ef3521888a2dee2a545214bcd (diff)
downloadgdb-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/remote-sim.c')
-rw-r--r--gdb/remote-sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index b21a4e8..d511305 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -43,6 +43,7 @@
#include "gdbthread.h"
#include "gdbsupport/byte-vector.h"
#include "memory-map.h"
+#include "remote.h"
/* Prototypes */