aboutsummaryrefslogtreecommitdiff
path: root/sim/README-HACKING
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/README-HACKING
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/README-HACKING')
-rw-r--r--sim/README-HACKING2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/README-HACKING b/sim/README-HACKING
index 69d08ff..d4867c9 100644
--- a/sim/README-HACKING
+++ b/sim/README-HACKING
@@ -294,7 +294,7 @@ Userspace System Calls
By default, the libgloss userspace is simulated. That means the system call
numbers and calling convention matches that of libgloss. Simulating other
userspaces (such as Linux) is pretty straightforward, but let's first focus
-on the basics. The basic API is covered in include/gdb/callback.h.
+on the basics. The basic API is covered in include/sim/callback.h.
When an instruction is simulated that invokes the system call method (such as
forcing a hardware trap or exception), your simulator code should set up the