From df68e12b3b3eb91e54d6d888b73049562566e0b3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 May 2021 00:35:54 -0400 Subject: sim: create header namespace The gdb/callback.h & gdb/remote-sim.h headers have nothing to do with gdb and are really definitions for the libsim API under the sim/ tree. While gdb uses those headers as a client, it's not specific to it. So create a new sim/ namespace and move the headers there. --- sim/rx/ChangeLog | 6 ++++++ sim/rx/gdb-if.c | 4 ++-- sim/rx/load.h | 2 +- sim/rx/syscalls.c | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) (limited to 'sim/rx') diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index b941caf..cbb3b47 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,9 @@ +2021-05-14 Mike Frysinger + + * gdb-if.c: Update include path. + * load.h: Likewise. + * syscalls.c: Likewise. + 2021-05-05 Mike Frysinger * gdb-if.c: Include libiberty.h. diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index ec41910..4a0f070 100644 --- a/sim/rx/gdb-if.c +++ b/sim/rx/gdb-if.c @@ -28,8 +28,8 @@ along with this program. If not, see . */ #include "ansidecl.h" #include "libiberty.h" -#include "gdb/callback.h" -#include "gdb/remote-sim.h" +#include "sim/callback.h" +#include "sim/sim.h" #include "gdb/signals.h" #include "gdb/sim-rx.h" diff --git a/sim/rx/load.h b/sim/rx/load.h index bb22776..562fa23 100644 --- a/sim/rx/load.h +++ b/sim/rx/load.h @@ -20,7 +20,7 @@ along with this program. If not, see . */ #include "bfd.h" -#include "gdb/callback.h" +#include "sim/callback.h" extern int default_machine; diff --git a/sim/rx/syscalls.c b/sim/rx/syscalls.c index 0c75c7d..73ca0f2 100644 --- a/sim/rx/syscalls.c +++ b/sim/rx/syscalls.c @@ -26,7 +26,7 @@ along with this program. If not, see . */ #include #include -#include "gdb/callback.h" +#include "sim/callback.h" #include "cpu.h" #include "mem.h" -- cgit v1.1