aboutsummaryrefslogtreecommitdiff
path: root/sim/common/gentmap.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-12 00:35:54 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-14 00:41:05 -0400
commitdf68e12b3b3eb91e54d6d888b73049562566e0b3 (patch)
treeb60781365aba1b34bacad73f34987c22615438a4 /sim/common/gentmap.c
parent183aaaf72a8c0643de1aab1018e23fe020e2ff79 (diff)
downloadfsf-binutils-gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.zip
fsf-binutils-gdb-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.gz
fsf-binutils-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 'sim/common/gentmap.c')
-rw-r--r--sim/common/gentmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index a606fad..8085c35 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -71,7 +71,7 @@ gen_targ_map_c (void)
printf ("#include <errno.h>\n");
printf ("#include <fcntl.h>\n");
printf ("#include \"ansidecl.h\"\n");
- printf ("#include \"gdb/callback.h\"\n");
+ printf ("#include \"sim/callback.h\"\n");
printf ("#include \"targ-vals.h\"\n");
printf ("\n");