diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-12 00:35:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-14 00:41:05 -0400 |
commit | df68e12b3b3eb91e54d6d888b73049562566e0b3 (patch) | |
tree | b60781365aba1b34bacad73f34987c22615438a4 /gdb | |
parent | 183aaaf72a8c0643de1aab1018e23fe020e2ff79 (diff) | |
download | gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.zip gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.gz gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-sim.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c94628c..1728869 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-05-14 Mike Frysinger <vapier@gentoo.org> + + * remote-sim.c: Change gdb/callback.h & gdb/remote-sim.h includes to + sim/callback.h & sim/sim.h. + 2021-05-13 Mike Frysinger <vapier@gentoo.org> * lm32-tdep.c: Delete gdb/callback.h, gdb/remote-sim.h, and diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index f2cf8db..5bedc04 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -33,8 +33,8 @@ #include "target.h" #include "process-stratum-target.h" #include "gdbcore.h" -#include "gdb/callback.h" -#include "gdb/remote-sim.h" +#include "sim/callback.h" +#include "sim/sim.h" #include "command.h" #include "regcache.h" #include "sim-regno.h" |